Under EASA it will not be legal to fly any aircraft registered in an EU member state without holding the appropriate licence issued in accordance with EASA Part FCL. That is written into the covering Regulation to the Implementing Rules on Pilot Licensing.