It's the EU way of doing things. Data retention gets killed by courts every year, and every year a new iteration is being proposed by politicians.
Remember the Lisbon Treaty, which necessitated a referendum in Ireland - which was repeated until the politically desired result was in.