We may get to find out about that soon...
H.R.418
REAL ID Act of 2005 (Engrossed as Agreed to or Passed by House)
That is precisely the way to set up the situation too.
If Congress, the Executive or State government simply defy a Supreme Court order, they will lose the public relations battle.
But this is a good way to go about it.
First, pick a controversial issue on which the majority of politically motivated people who will care will side with you.
Second, assert the Constitutional power to limit jurisdiction in the legislation itself. This tees up the issue nicely as a battle between Congress (and the President) using enumerated powers in the Constitution, against the general right of review asserted by the court.
Third, put it into place and start affecting civil rights thereby, ensuring a rapid-fire stream of litigation, forcing the issue to ripen quickly.
Then see what the Court does.
But I'll tell you what the Court will probably do: declare the legislation unconstitutional, just like they declared that the President's war powers don't extend to holding enemy combattants without trial.
And when they do, will the PRESIDENT (only)(because only the President enforces the law) nakedly defy a Supreme Court order and continue to enforce the law?
And if he does, will his own party in Congress resist the drumbeat of calls for impeachment?
Anyway it is all moot: this bill will be filibustered in the Senate by the Democrats.