I keep bringing it up since people forget about it: in 2006 the EU adopted the Data Retention Directive that forced all ISPs to save the browsing history of everyone.
https://en.wikipedia.org/wiki/Data_Retention_Directive
It was eventually declared invalid by the European court of human rights, but it was still in effect for many years. Countries that did not implement this (eg Romania because their constitutional court found it illegal) were sued by the EU commission.
The EU's attempts to spy on people go back decades. You'll also note that government gets exemptions from all the privacy stuff the EU pushes.
I hope the EU changes course on this, but as with their handling of other tech... I'm not holding my breath.