LOS ANGELES (Reuters) - California’s new “gig worker” law does not apply to independent truck drivers because they are subject to federal statute, a Los Angeles judge ruled, handing a victory to one industry that is challenging a state effort to clamp down on labor abuses.

FILE PHOTO: Trucks wait in a queue for border customs control, to cross into the U.S., at the Zaragoza-Ysleta border crossing bridge in Ciudad Juarez, Mexico December 12, 2019. REUTERS/Jose Luis Gonzalez

The law, known as AB5 and which took effect on Jan. 1, makes it tougher for companies to classify workers as contractors rather than employees, a classification that exempts them from paying for overtime, healthcare and workers’ compensation.

Truckers have mounted the strongest defense against AB5, which is best known for striking at the heart of high-profile “gig economy” businesses like Uber Technologies and Postmates Inc, which depend on freelance workers to provide low-cost transportation and deliveries.

In a decision on Wednesday, Los Angeles Superior Court judge William Highberger said AB5 “prohibits motor carriers from using independent contractors to provide transportation services” and therefore is preempted by the Federal Aviation and Administration Authorization Act of 1994.

Highberger ruled in favor of NFI Industries’ Cal Cartage Transportation Express and other trucking companies that were sued by Los Angeles City Attorney Mike Feuer for allegedly misclassifying truck drivers as independent contractors rather than employees.

Feuer said his office would appeal.

“As the Court itself stated, ‘... there are substantial grounds for difference of opinion,’” Feuer said in a statement emailed to Reuters.

Highberger’s decision came eight days after the California Trucking Association won a temporary restraining order in a separate challenge to AB5. Another hearing in that federal case is scheduled for Jan. 13.

California is home to 450,000 contract workers. Roughly 70,000 of them are independent big-rig owner-operators who transport everything from ocean cargo containers to strawberries.

“California cannot simply eliminate that business model and force truck drivers to be employees,” said Gibson Dunn partner Joshua Lipshutz, who represented NFI.

Uber and Postmates on Wednesday asked a federal judge to issue a temporary injunction. They argue that AB5 is unconstitutional because it singles out their workers in violation of equal protection guaranteed under the constitutions of the United States and California.