SAN FRANCISCO (AP) — Two San Francisco federal judges say juries will have to decide whether drivers for Uber and Lyft were independent contractors, or employees of the ride-hailing companies with all of the protections and benefits the state affords regular workers.

The rulings have potentially expensive ramifications for Uber and Lyft.

READ MORE: SAG-AFTRA Calls On Golden Globes Group To Increase Diversity

Two former Lyft drivers and four current Uber drivers have filed two separate lawsuits alleging that they were misclassified as independent contractors by the companies and thus deprived of California’s minimum wage, reimbursement for work-related expenses, and other protections. The plaintiffs seek class-action status.

Lyft and Uber dispute the claims and sought summary judgments against the plaintiffs.

READ MORE: Man And Woman Shot To Death In Gardena Identified

But the judges said Wednesday only a jury could decide the issues because evidence could sway a reasonable jury in either direction.

(© Copyright 2015 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)

MORE NEWS: Search Underway For 3 Suspects In Glendale Robbery