MADRID — A new law requiring food delivery companies in Spain to hire delivery riders and drivers as employees rather than freelance contractors took effect Thursday with labor unions urging close monitoring and inspections to enforce it.

Spain's Trade Union Confederation said the so-called Riders Law would "put an end to the labor fraud that workers in this sector have suffered for too long.." The confederation, known by its Spanish acronym CCOO, said the labor ministry and inspectors should ensure compliance with the law through monitoring, evaluation and reporting.

The law classifies food delivery riders as employees of the digital platforms they work for, not self-employed. It covers an estimated 30,000 workers.

Legislation approved in May also requires companies such as Spain's Glovo and America's Uber Eats to hand over to worker legal representatives information about how their algorithms and artificial intelligence systems function in assigning jobs and assessing performance.

App-based food delivery businesses say the law threatens a €700-million ($851 million) industry in Spain. UK-based Deliveroo has said it plans to exit the Spanish market pending a mandatory consultation with workers. Some workers have also objected, saying the freelance model gave them flexibility.

Riders For Rights, a gig economy union, noted that with temperatures soaring past 38° Celsius (100.4°F) in many parts of Spain on Thursday and a heat wave expected to last for several days, workers had not been offered any form of heat protection or extra pay.

"Companies will continue to fail to comply with the legislation," the union tweeted. "As long as it is cheaper for them to pay fines than to hire us, this fraud will persist. They do not understand laws and legislations."

The CCOO said it was working with Just Eats on new contracts for riders. Glovo has said it will hire 2,000 deliver workers as employees to comply with the new law but maintain the rest of its workers as freelancers. Uber Eats has said it plans to subcontract out some of its services.

Read full article on BusinessMirror