UPDATE: A federal judge in Seattle issued a temporary ban on the executive order.
A federal judge this afternoon said the president has the right to bar people from other countries from entering the US and declined to extend a temporary restraining order against his ban on travel from seven predominantly Muslim countries.
US District Court Judge Nathaniel Gorton ruled that American constitutional rights don't extend to foreigners outside the US and that the law gives the president the ability to set entrance requirements for foreigners, so there's not much chance the plaintiffs can win a lawsuit.
Gorton acknowledged the potentially painful situation this might put some travelers and refugees in, but said the law simply is not on their side:
The rich immigrant history of the United States has long been a source of strength and pride in this country. The individual plaintiffs in this case provide particularly compelling examples of the value that immigrants add to our society. Conversely, the public interest in safety and security in this ever-more dangerous world is strong as well.
He added the case is now moot for the green-card holders who found themselves detained because they were released and because of "the government’s clarification that the EO will not be applied to lawful permanent residents."
Similar lawsuits and requests are pending in other federal district courts.