Marbury v. Madison the rest takes care of itself.
That isn’t the first time the Court ruled on the constitutionality of a federal law contrary to popular opinion.
That would be Hylton v United States.
Threadwinner