There's no smarts to the door, the door isn't "programmable", all of its operations bar the key going in the lock are controlled by the car. At a minimum you will need to swap the lock barrel over, if the door is just a shell you'll also need to take the actuators out of the old one.