If Congress removes jurisdiction from the federal courts, what court are they going to challenge it in?
Congress could create a special court to deal with marriage and they could limit appellate review of that court by the USSC.
However, Congress cannot shield their acts from some form of judicial review.