Recode 166 remote central locking key
I bought a 166 about a year ago and received 2 keys. One key worked fine, but the other did not lock/unlock the car, so I put it in a draw and forgot about it. Now the working key has stopped working, the light only flashes intermittently when the boot button is pressed but not when I try to lock/unlock the doors. This was not a major problem until a couple of days ago the barrel in the drivers door snapped and now I cannot lock the doors. I thought that the battery was dying so I found the other key and changed the battery, but nothing.
Is there a way to recode the other key? the led flashes when the buttons are pressed, but does not unlock the car, it however starts the engine when the key is in the ignition.