The United Nations was established by an act of Congress (1945 I believe)—and then the building was established by a different act, which gave it kind of its own territory.
What Congress created, Congress can eliminate.