engine wiring loom will be different too as the ECU is mounted on different sides on the 5 series
you would be a lot better getting an e36 doner