There are probably a lot of technical details involved but I don't think you can make such national laws or in case you can you probably can challenge them and get them retracted. The decision is more or less based on universal human rights and they should apply to EU and national law in the same way.