Just because a particular Directive has been invalidated, that doesn't also automatically invalidate the individual countries' laws that implement that Directive. Here's how it works:
1) European Union issues a Directive
2) Each individual EU country enacts a law to implement the Directive in some half-assed way, except for the UK, which implements every tiny bit of the Directive in obsessive detail and adds even more to it just for good measure
3) Each EU country then procedes to largely ignore that law, except for the UK, which scrupulously enforces every single last jot and tittle of it
If then the Directive is invalidated on human rights grounds then each individual country may or may not decide to repeal their own law that implemented the directive, except for the UK, which carries on regardless. If a country decides not to repeal the law then persons from that country could mount a challenge to the European Court of Human Rights, but that's a long and expensive journey.