What is it a court decision or the Constitution.
The two are not the same and court decisions can be overturned. The USSC is wrong on many issues and that is why people work to change it.
Read the Constitution. Article one section one gives the congress authority to legislate. State constitutions give similar powers.
I’m sure that you can figure out the rest of it. If not too bad.
Good bye.