8 U.S. Code § 1182 - Inadmissible aliens
(f) Suspension of entry or imposition of restrictions by President
Whenever the President finds that the entry of any aliens or of any class of aliens into the United States would be detrimental to the interests of the United States, he may by proclamation, and for such period as he shall deem necessary, suspend the entry of all aliens or any class of aliens as immigrants or nonimmigrants, or impose on the entry of aliens any restrictions he may deem to be appropriate.
Whenever means whenever.
Any means ANY.
Bottom line: had he wanted to ban all Muslims, he could have easily done so and been well within his rights to do so.
Bottom Line George W. Bush and George HW Bush appointed horrible Judges
Trump should have stated this, put it out on TWITTER AND TOLD THE JUDGE TO EAT SHIITE.
This is a National Security Situation....Courts ain’t got squat to do with it. We are being invaded and any judge siding with the invaders should be treated as one.
Trump could've completely closed off the borders to every single foreign national, except those on diplomatic missions and their families. That would be entirely within his authority under 8 US Code 1182.