And the result was this guidance detailing exactly how to implement it, direct from the Governing body in charge of enforcement of GDPR:
https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/online-tracking/consent-or-pay/
Edit: and this was a result of complaints and a public consultation, not any court case AFAIK.