That's simply how any EU directive works: EU decides what must happen, and it's up to the individual countries to put it into their respective laws.
That way people get angry at their federal government instead. Who can point their finger higher up. Who can then point to the countries specific implementation in their turn. It's a neat trick. Nobody's responsible for anything.
the law works against its intentions
When has that ever stopped a puritan?