Pro-labor state lawmakers in California derided the Silicon Valley companies Uber and Postmates as "greedy" on Tuesday after the corporations filed a federal lawsuit to block the state's new law protecting freelancers from taking effect.

Assembly Bill 5 is set to enter into force on Wednesday, but the two companies are seeking an injunction and asking for more time to negotiate a deal with the state regarding how they must treat their workers.

Under the bill, all companies in California would be required to classify their workers as employees rather than independent contractors in most cases. Companies in the "gig economy— including Uber, Postmates, and Lyft—would have to provide their drivers with the state minimum wage of $12 per hour, protect them with overtime rules, workers' compensation, and unemployment insurance, and contribute payroll taxes for Medicare and Social Security.

The attempt by Uber and Postmates to block the law amounts to "nothing but a greedy scheme to avoid paying workers the wages and benefits they are owed," said state Assembly Speaker Anthony Rendon on Tuesday.

The Uber-Postmates lawsuit is nothing but a greedy scheme to avoid paying workers the wages and benefits they are owed. The legislature remains committed to protecting Californians from exploitative working conditions, no matter how many self-serving lawsuits are filed. — Anthony Rendon (@Rendon63rd) December 31, 2019

Uber and Postmates, along with two of their workers who joined the suit, argued in court filings that A.B. 5 is unfair because certain companies are exempt from the law; the rules would apply to companies which control when and how their employees work and to employees whose work is essential to the companies' business.

The companies claimed that state Assemblywoman Lorena Gonzalez, the author of A.B. 5, acted "irrationally" when she "attacked" the gig economy, in which poverty wages have forced some Uber drivers into homelessness.

"This hostility toward the on-demand economy held by Assemblywoman Gonzalez and many of her colleagues in the California legislature ultimately led to the passage of A.B. 5," Uber and Postmates said in their lawsuit.

Gonzalez embraced the accusation on Twitter, writing, "I did, and do" call the companies "bad employers."

#UberGreed so big that they think they can file a lawsuit crying that I called them bad employers. (*spoiler alert - I did, and do) — Do you even get how being a legislator works @Uber_Comms ? https://t.co/zioeTeOHYV SCROLL TO CONTINUE WITH CONTENT Never Miss a Beat. Get our best delivered to your inbox.





— Lorena (@LorenaSGonzalez) December 31, 2019

The characterization of Gonzalez as "irrational" was "kind of a strange way to characterize a lawmaker doing public policy," tweeted Avi Asher-Schapiro of the Committee to Protect Journalists.

Uber's suing to block a CA law that would make drivers its employees. An interesting item: Uber argues that by criticizing it, Assemblywoman @LorenaSGonzalez acted "irrationally." Kind of a strange way to characterize a lawmaker doing...public policy. https://t.co/RUcuEQqrZd pic.twitter.com/5db0EPNZJB — Avi Asher-Schapiro (@AASchapiro) December 31, 2019

In a statement, Gonzalez condemned the "bizarre" effort by Uber and Postmates to portray A.B. 5 as unconstitutional.

"The one clear thing we know about Uber is they will do anything to try to exempt themselves from state regulations that make us all safer and their driver employees self-sufficient," Gonzalez said, an apparent reference to Uber's claim shortly after A.B. 5 passed in September that the law would not apply to the company.

The United Food and Commercial Workers Western States Council, which represents more than 200,000 workers in California, Nevada, Utah, and Arizona, said the lawsuit was an attempt by the companies "to delay accountability."

"Gig companies like Uber and Postmates are literally banking on the exploitation of workers who live beneath the poverty line, who sleep in their cars, and who worry about having enough money for their next meal," said Andrea Zinder, president of the Council. "Workers showed their strength when they stood together to pass this landmark law, and UFCW members will continue to stand behind A.B. 5 to ensure workers across California can protect their workplace rights."