I am hearing all sorts of bits and pieces saying the PPL and CPL must be completed in the state of initial class 1 issue.
This is written in JAR-FCL 3. So decide on which country you want to issue your licence, then do the medical in that country.
Mutt