worse case is you reset it all using opcom and the security code, unless you got a tech2
https://www.youtube.com/watch?v=HUveKBFBTq0
cant see why it shouldnt work swapping over the transponder on the barrel as it programmed into the chip on the key fob, and ecu/ immobilizer will work off that
the big problem will be the alarm, and you will need the security code off the new ecu