Because Aircraft have the "nationality" of the state of registry and you should obey their rules as well as ours...
I've certainly heard that put as a counterargument. However, as you point out, as with many issues of jurisdiction and conflict of law, what is "legal" tends to come down to who cares about it and how big their army is.