Buy a cat by-pass pipe. You don't need a cat on a diesel for it's MOT. Nice and shiney, reduce turbo lag, slight increase in power, improved mpg, easily adds 2" to your manhood. OK, that bit was a fib.
But if you really want to keep your cat, then removing the rust from the mating surface is...