"virtually impossible" to change an aircraft's identifying code
The identifying code has to be changeable. Every time there is a maintenance swap-out of equipment the code has to be reprogrammed in the new equipment.
The only question is whether it requires physical access to the relevant PCB or whether it can be done using independent maintenance systems or using pilot interfaces operating in maintenance mode.