The US did this before; there was a Cold War-era law SCOTUS ruled unconstitutional in 1964.

https://en.wikipedia.org/wiki/Aptheker_v._Secretary_of_State ("Aptheker v. Secretary of State" (1964))

> In Aptheker, the petitioner challenged Section 6 of the Subversive Activities Control Act of 1950, which made it a crime for any member of a Communist organization to attempt to use or obtain a passport.[1]"

Some expanded context,

https://en.wikipedia.org/wiki/Freedom_of_movement_under_Unit... ("Freedom of movement under United States law")

Good thing the current supreme court has such respect for precedent!

It's like 50/50 kind of balanced rulings - when precedent agrees with their agenda, they go with it, when it doesn't they go with their own thing.

Just like my wife treats my wishes.

They really care about stare decisis unless it doesn’t favor their agenda.