In the Pentagon Papers case, the government asserted in the Supreme Court that the publication of the material was a threat to national security. It turned out it was not a threat to U. S. security. But even if it had been, that doesn't mean that it couldn't be published.
When you understand just how big the Universe is, you then realize that only idiots fight over an area of space called land.