The European Court of Justice has confirmed that Irish retention measures for the purposes of serious crime prevention are contrary to EU law – and that an Irish court declaration to that effect would need to apply from the date the relevant framework came into force.