Myself I would fit a new barrel as I said keeping the original ecu exc get a known working fob and get it programmed but transfer the immobiliser chip and key blade over 
Iirc phase3 cars need Peugeot planet to programme a new key fob for the central locking

Iirc phase3 cars need Peugeot planet to programme a new key fob for the central locking
