> A law that Congress passes overrules any and all SCOTUS precedent on the issue
Wow, that's wrong...
Take Loving v Virginia: there, the court ruled that interracial marriages must be governed by the same rules as all other marriage.
No law of Congress can overturn that ruling. Only amending the constitution or the court itself have that (theoretical) power.