There is a long history, going back over 200 years, of legislators deciding to effectively reverse court decisions by passing laws so as to undermine them. That a law undoes a court decision is hardly a basis for declaring it unconstitutional; indeed, the ability for the legislature and executive to join together to override the judiciary is one of the essential checks and balances in the republic.
Exactly.