A few posts back, I wished the Hubble a happy 20th birthday and cracked that "next year, she could have a beer." My buddy Mike C. in Austin quipped back, "Well Heather, since it is technically in space, would the age laws from the US apply?"
Would you believe the answer is yes?! LOL, it will never happen… but technically, astronauts who visit Hubble and choose to imbibe upon its surface would have to be over 21. So says Article 8 of the Outer Space Treaty of 1967 (excerpt): "A State Party to the Treaty on whose registry an object launched into outer space is carried shall retain jurisdiction and control over such object, and over any personnel thereof, while in outer space or on a celestial body."
Mostly so this doesn't happen...
The HST is a shared project between NASA and the ESA, but the Hubble is on the American Registry of Space Objects, and also listed by the United Nations Office for Outer Space Affairs as US territory. The same would apply to any of our orbiters or landers.
International Space Station laws apply similar "Location"-based principles. The broad agreement says "...each partner state in this visionary cooperation adventure registers its own part of the station, and consequently can apply its own laws to events therein."
So, taking the same basic example, the drinking age in the Russian modules and JAXA module would be different than inside the American modules. Even patent law applies; if something is invented in the Kibo module, Japan owns the rights. Legally speaking, we now have a piece of the US annexed to a piece of Europe annexed to a piece of Russia annexed to a piece of Japan in low earth Orbit.
Cool, huh? And it's just the tip of the iceberg. Space Law is developing into such a robust field, all the major Space Treaties, Declarations and Principles are too numerous and labyrinthine to cover effectively here… but consider this:
The UN's master list of all agreements between space-faring nations is now 55 pages long... and those are just the titles! In addition, space exploration is subject to international law, not just the dictates of those with the resources to get there. In other words, all nations have a say in how space is used, even if they do not have launch capabilities.
Those who are interested can visit the UNOOSA site to browse traffic regulations, liability for floating debris and collisions, [lack of] moon ownership and, believe it or not, extra-terrestrial alien rights.
Interesting in pursuing it as a career? They even list the many schools offering degrees in space law. Because that's what we need. More lawyers ;)