Both of your examples do not apply to this case. The Constitution gives Congress power over immigration, which Congress passed laws to delegate to the Executive. The courts in this case said nothing about those laws being unconstitutional per Marbury.

Regarding Korematsu, that executive order (by a liberal Democrat) applied to U.S. citizens and was clearly abridging their rights. Mr. Trump's order applies to non-citizens. Those already in the U.S. certainly have some grounds for redress, but not based on Korematsu, as no one has been interred. Those who are not in the country have no rights under our constitution, yet the courts ruled as if they do. That amounts to making law, not upholding existing law as the judiciary is charged to do.

By the way, your avatar is an un-American use of the inverted flag, as the President has not declared a national state of emergency.