Well it wasn't completely clear before this ruling (see this analysis from a Belgian Law Faculty which lists the previous cases (https://www.law.kuleuven.be/citip/blog/mass-surveillance-and...).
And some member states never really ruled on the matter clearly.
Now it's pretty clear and I have to agree and re-reading this ruling entirely that this is in fact making mass surveillance legal under an apparent cover of limiting it. Making your initial ending remark completely true.