Sure, because IFF transponders can't be reprogrammed or anything...
The Russians don't care 'bout no steekin' transponder codes. KAL 007 was squawking a civilian ATC code when it was shot down, the Russians knew it and they shot it down, anyway......