The law is open to interpretation and that is what the judge just did. In so doing it created precedent and reduced the possibility of miss-interpretation in the future.
If Ryan air stops flying Spain I am sure there are plenty of other airlines that will fill the gap. Airlines willing to follow the law.