I think the car either the can gateway or something else remembers the code so that disconnecting the battery doesnt require the code to be re-entered, but fitting the stereo into a different car will require the code which I believe the dealears provide with proof of ownership of the car and stereo so you might have to pop along with both.