Judge Robert H. O'Brien ruled in favor of the city of Irwindale and told Huy Fong Foods to shut down any parts of the plant that could be causing the offending odor until a solution can be found to keep the manufacture of the hot sauce from bothering nearby residents, the Los Angeles Times reported Wednesday.
The city filed suit against the food company Oct. 21 as a result of complaints from residents who blamed the spicy odor from the factory for their heartburn, inflamed asthma and nosebleeds.
O'Brien said there was a "lack of credible evidence" tying the health problems to the smell, but he was convinced the odor was "extremely annoying, irritating and offensive to the senses warranting consideration as a public nuisance."
City Attorney Fred Galante welcomed the ruling.
"We believe it's a strong ruling that acknowledges and is reflective of the concerns that the community has raised about the health impacts of the odor," he said.
Huy Fong Foods officials did not immediately respond to requests for comment, the Times said.