Is that not the case only when the doors are closed? Thus, during turn-round, doors open steps on the ground, they are subject to local laws. That was always my impression.
I think even Ryanair have had to realize that now. New Ryanair contracts in European base has them paying the local social insurance. Meanwhile, the basic salary's been reduced insultingly low (to compensate).