Laws only matter if someone bothers to enforce them. In the past, the US used to frequently make a big deal about the laws of the sea, and would come down hard on anybody who interfered with free shipping. But, of course, that's over now.
If you raided this sovereign city, you wouldn't hear any peep from a president like Trump... except maybe to demand his cut of the spoils.