A three-judge panel of the state appeals court on Monday reversed a lower court ruling in 2021 that the ballot measure, known as Proposition 22, was unconstitutional.

Prop 22 was approved in November 2020 and exempted app-based drivers from a 2019 state law known as AB5 that makes it difficult to classify workers as independent contractors rather than employees.

Jefferies analysts estimate Lyft, DoorDash and Uber have potentially avoided a hit of between $20 million and $170 million to their 2024 core earnings.

"The ruling clears the path for Uber's continued stock outperformance," Jefferies analyst John Colantuoni said, betting on the company's massive scale and network.

The companies have been battling with regulators over how they compensate and grant more benefits including insurance and sick leave to their gig workers, who have the flexibility of working for any app they choose to but do not receive the same legal protection as employees.

Analysts expect the decision will likely be challenged before the California Supreme Court, which could take months to decide whether to accept the case, and over a year to issue a ruling.

If Prop22 is repealed, it will be replaced by AB5, which would require the companies to reclassify drivers as employees and provide full benefits and hourly pay rather than just trip time.

The latest ruling could also pave the way for other states to follow, analysts said.

Uber has dominated the rideshare and food delivery space thanks to massive scale, flexibility and presence in multiple global markets, crushing rivals Lyft and DoorDash.

Shares of Lyft, which on Monday hit a record low, were up 6% in premarket trading. Uber and DoorDash rose 7% and 8%, respectively.

(Reporting by Nivedita Balu in Bengaluru; Editing by Shailesh Kuber)