The U.S. Court of Appeals for the Second Circuit on Monday revived a 2018 New York state law requiring pharmaceutical manufacturers and distributors to pay $600 million into a special fund to address the state’s opioid crisis, after a lower court judge found the charge unconstitutional.

A three-judge panel of the Manhattan-based appeals court held that a district court judge lacked the jurisdiction to hear challenges from pharmaceutical industry trade associations and an opioid seller, who claimed that the mandate was a regulatory fee and punitive fine that violated the Commerce Clause of the U.S. Constitution.