I disagree. The judges held that it was "inconsistent with EU law". That means it is illegal because it goes against the (higher) EU law. They held that the reason it was inconsistent was because it lacked "prior review by a court or independent administrative authority" - basically, due process. It seems clear from the language of the judges that rights were violated without due process. That's no minor offense.