A federal judge in Massachusetts on Monday dismissed a lawsuit challenging the U.S. government’s prohibition on state-legal marijuana, calling the plaintiff cannabis companies’ arguments “inconsistent with binding Supreme Court precedent.”

In a 15-page order, U.S. District Judge Mark Mastroianni wrote that even though the plaintiffs “alleged persuasive reasons” for reconsidering how the federal Controlled Substances Act regulates marijuana, Congress continues to have a rational basis for banning the cannabis companies’ commercial operations, echoing the Supreme Court’s 2005 holding in Gonzales v. Raich.