How could SCOTUS make such an order? The control of Immigration rests with the EXECUTIVE Branch of Government, not the Judicial Branch.
That is what happens when the judiciary is given veto power over immigration, and the administration abides by their rulings.
They should do what President Jackson did: ignore it.