The European court looked at a very specific program, a draft agreement between Canada and the EU having to do with the transfer of certain types of passenger information between Canada and the European Union. It dealt specifically with that information, although lessons can be learned about other border control programs. The judgment itself had to do with that specific program.
On September 18th, 2017. See this statement in context.