Appealing to national security is not a "get-out-of-law-free card," a federal court ruled last week.