@Debra Law,
As a legal matter, Wall is right. This is especially true in an immigration context, which the constitution, as previously interpreted by the Supreme Court,
precludes the courts (by the "separation of powers" doctrine) from meddling in by 'second-guessing" the wisdom of congress and the president. They are only supposed to look within the "four corners" of the document in question when judging the legal validity of an executive order.
Speculation about motives is improper. That's not their job, and is, in fact, one that is beyond their authority.
As the Supreme Court has said:
The Supreme Court wrote:These aliens...[claim] if any power to deport domiciled aliens exists, it is so dispersed that the judiciary must concur in the grounds for its exercise to the extent of finding them reasonable.
Certainly, however, nothing in the structure of our Government or the text of our Constitution would warrant judicial review by standards which would require us to equate our political judgment with that of Congress....
"It is thoroughly established that Congress has power to order the deportation of aliens whose presence in the country it deems hurtful. The determination by facts that might constitute a crime under local law is not a conviction of crime, nor is the deportation a punishment; it is simply a refusal by the government to harbor persons whom it does not want...
The place to resist unwise or cruel legislation touching aliens is the Congress, not this Court."
https://supreme.justia.com/cases/federal/us/342/580/case.html
Get it? The court has no right to overturn even "cruel legislation" as it pertains to aliens.
The commies in this case said that their due process and first amendment rights prevented their deportation just because they were commies. The Court said: "You aint got those rights, boy, cause you aint no citizen."