Basel Airport is the only airport in the world that is operated by two countries at once - France and Switzerland. It is all about its favorable location. In fact, the air terminal is located on French territory, but the nearest city is Swiss.
In air transportation, like everywhere else, there is a set of rules and laws that airlines must abide by.