COSTA MESA (CBS) — An Orange County judge on Monday temporarily barred the city of Costa Mesa from laying off municipal workers and outsourcing their jobs.

KNX 1070’s Mike Landa reports the cost-cutting plan to privatize hundreds of jobs is now on hold until the issue is resolved in a court trial.

READ MORE: Clippers’ New $1.8B Inglewood Arena, The Intuit Dome, To Break Ground Friday

Jennifer Muir of the Orange County Employees Association said Superior Court Judge Tam No-moto Schumann has signed off on a preliminary injunction.

READ MORE: LA County Students Exposed To COVID-19 Can Continue To Attend In-Person Classes, Health Officials Announce

“What the injunction says is that the city cannot outsource or lay off municipal employees pursuant to outsourcing to the private sector,” said Muir.

The ruling comes nearly one month after the City Council approved layoffs for 200 city workers, eight police officers and an animal control officer.

MORE NEWS: Woman Stabbed To Death At Senior Living Community In Baldwin Hills

Costa Mesa city attorney Tom Duarte has issued a statement saying the ruling does not prevent the city from continuing to explore outsourcing the jobs of half of its workforce.