When you arrive at Basel Airport, and before Swiss passport control, you are in France.
Of course, you’re still on French soil after clearing Swiss passport control too, though Swiss laws are upheld by the Swiss police (and you may also encounter French police legally going about their business, too).
Fairly niche example, however!