A federal appeals court on Friday revived a constitutional challenge brought by a Minnesota couple who won’t shoot wedding videos for same-sex partners, teeing up a new dispute for the U.S. Supreme Court confronting a clash between state civil rights laws and religious protections.

The split panel, led by Judge David Stras, a Trump appointee to the U.S. Court of Appeals for the Eighth Circuit, said the couple can pursue a hybrid claim that combines elements of their free speech and religious freedom rights. Friday’s decision overturns a district court ruling that had dismissed the videographers’ claims and spurned their demand for an injunction against the state civil rights law.