Here's the regulation:
EUR-Lex - 32016R0539 - EN - EUR-Lex
What is says is that member states
may decide not to apply the require for an EASA licence. The default is that the requirement for an EASA licence is there unless the state specifically opts out.