SpaceX is an american company, so they are subject to their laws.
The situation is similar to Antarctica, which is home to a large number of small scientific settlements, each following the rules of the country that it is bound to.
A treaty that some countries have signed acknowledges some country borders, but they are not enforced in practice, and those territories are home to settlements from other countries — you even have multi-nationality settlements.
The situation is similar to Antarctica, which is home to a large number of small scientific settlements, each following the rules of the country that it is bound to.
A treaty that some countries have signed acknowledges some country borders, but they are not enforced in practice, and those territories are home to settlements from other countries — you even have multi-nationality settlements.