A unanimous California Supreme Court on Thursday upheld Proposition 22, the 2020 voter-approved initiative classifying app-based drivers for Uber, Lyft and DoorDash as independent contractors.

In a 25-page opinion written by Justice Goodwin Liu, the court held that the initiative’s language does not conflict with Article XIV, Section 4 of the California Constitution, which grants the Legislature the power, “unlimited by any other constitutional provision,” to regulate the workers’ compensation system. That power, the court said, is not exclusive.