In a rare unanimous win for workers in an arbitration case, the U.S. Supreme Court on Tuesday ruled that a court should decide whether an exception to the federal arbitration law applies before arbitration can proceed.

Justice Neil Gorsuch wrote the opinion in New Prime v. Oliveira, with Justice Brett Kavanaugh recusing himself. The case was argued Oct. 3, before Kavanaugh joined the court.