In Marbury v Madison (1803), the Court established the principle of judicial review when it overturned a law passed by congress, as "unconstitutional." Not only is the Suprme Court the arbiter of the meaning and intent of the Constitution, but the are the court of ultimate appeal on all U.S. laws, including those passed by local, county, state, and federal governments, including those laws past under the Articles. The Supreme court had every right to rule on those issues.
You may disagree with the rulings of the courts, but we are a country which respects the rule of law. We can't pick and choose which laws we are going to follow, or which court decisions we are going to respect.