After replacing the battery in Peugeot 207, the key must be initialized. To do this:
1. Place the key in the ignition key;
2. Rotate it to position II;
3. Press the locking button and hold it for 10 seconds.
4. Turn off the ignition.
If this does not work, make sure that the new battery is set to polarity.