Generally ECMs need to be programmed to the new car. As even if one option ie TC, air con, auto, etc it won't work. Also though i don't know about your d40 but every other car with an immobiliser has to have the ECM programmed to those codes off the OLD ECM.
or you can replace all the keys as well and ensure the donar ECM was optioned the exact same.
Are you getting a remanufactured one from injectronics? better warranty then new and must better price.