Don't know, without reading all the legal documents. The memo supporting the motion in the New York case was almost thirty pages by itself, so I didn't study it all. If this executive order applied to holders of green cards, that part of it was a mistake. But the fact an alien overseas was granted a visa during the last administration should not obligate President Trump to honor that grant, and admit the alien to the U.S. If there is now some federal law under which it does, Congress should act immediately to repeal that law. Or, if it fails to act, and the emergency is pressing enough, Mr. Trump should ignore that law as an illegitimate infringement by Congress of his broad and exclusive power to protect the nation from foreign threats.
What the Court said in U.S. v. Curtiss-Wright Export in 1936 holds true today:
"We are here dealing not alone with an authority vested in the President by an exertion of legislative power, but with such an authority plus the very delicate, plenary and exclusive power of the President as the sole organ of the federal government in the field of international relations--a power which does not require as a basis for its exercise an act of Congress . . . ."(emphasis added)
In Curtiss-Wright, President Roosevelt was acting in agreement with Congress. But the Court's language strongly suggests that a U.S. President would retain a broad, indpendent foreign affairs power even if he were acting contrary to a federal statute.