Why transfer? The Spanish authority can accept a French issued medical, and you can fly French aeroplanes on a Spanish licence. Any EASA examiner can test any EASA licenced pilot.
I'm British, my EASA licence is Irish, my AME is qualified in Norway, the examiner for my last few renewals is approved in Malta. None of this is a problem for anybody.
Seems completely unnecessary.
G