Well they don't really walk up to the plane with tea and biscuits and ask the pilots where they are paying their social taxes.
They ( the french police) come up to the plane, ask for their work contracts, and then arrest the pilots and CA. This is how it happened in Marseille for instance