Ironically, Trump really didn't have to give an executive order to do this. There is a law already in place from 1952. 8 USC 1182 that allowed the government of the US to banned travels of people they deemed as dangerous or whatever. Its a federal law, signed in by a Democratic President Harry Truman. Least we forget, Jimmy Carter did the same thing by deporting Iranian students from the US during the Hostage Crises. So in reality, the federal judge can not order an injunction on a federal law until it been repeal by Congress or declared unconstitutional. So the bozo man isn't as dumb as he looks. And just about every President since that law been enacted, have used it.