The later EV Tourings came with a "half" battery, Spark 500 from memory. This was to allow some room for the mandatory environment filter for the fuel tank.
I haven't done any measurements, but I think you'll be lucky to fit the P8 ECU in this spot. Perhaps a lithium battery might make more room.
Or you could change over to the smaller IAW 15M ECU, but you will need a later wiring loom at least.