I am not suggesting anything racedo, I am merely telling the story of two verdicts which saw Ryanair as the loosing party.
Both of them have been appealed and we can just wait for either their confirmation (very likely) or their reversal (extremely unlikely).
You might find reading the Rome Convention as eye opening in this respect and also understand the reasons behind these verdicts.
But again should Ryanair win their appeal then I will welcome any airline setting up their HQ in Dublin and then continue producing revenue in other countries without employing anybody there nor participating in their social system.