On the 240D rear main seal you might trying to reseal the oil pan section of the "rope" seal. I have done that job many times w/o removing the engine & completely disassembling it.
Just leave 2-3mm of the new rope seal above the pan surface to push up on the upper half.
MERCEDES Benz Master Guild Technician (6 TIMES)
ASE Master Technician
Mercedes Benz Star Technician (2 times)
44 years foreign automotive repair
27 Years M.B. Shop foreman (dealer)
MB technical information Specialist (15 years)
190E 2.3 16V ITS SCCA race car (sold)
1986 190E 2.3 16V 2.5 (sold)