Last time I went to renew my EASA medical, the application form did ask about foreign issued medical licenses. I would be surprised if you were allowed to operate any aircraft in EASA jurisdiction with permanent residence in the EU. Especially with a medical disqualification on your record. If your medical disqualification is a serious one, I would imagine that there might be harsh consequences in case something happens.