Look up Neal Sutton.
Back in the day he did plug to plug conversions on some cars for ECU swaps between engines
and between years of cars.
May be your best bet to do the Mercedes since he understands the principles.
He may also know how to get the needed parts for German cars.
Let us know what you find out. That way we all get smarter.