2 litre diesel - Focus Error Code - geoff1248

The car is a Focus CC3 2.0 litre diesel which has recently come up with a message saying there is a fault with the engine system management. I ran the self test mode and all was OK except for the above error code. Having Googled this code it said something about "PATS Received Incorrect Key-Code From Ignition Key Transponder" which may as well be a foreign language to me. The car runs fine, no problems at all. Both ignition keys are the originals.
Anyone able to explain what this means and how to correct it.