BURBANK (CBSLA) — A judge has issued a temporary restraining order against the owners of Tinhorn Flats that requires the restaurant to close, the city of Burbank announced Monday.

However, the court did not grant the city’s request to shut off electricity and lock the doors of the popular establishment at 2623 W. Magnolia Blvd.

READ MORE: Details Emerge From Prosecutors on Killing Of 6-Year-Old, Aiden Leos, On Orange County Freeway 

The order was in response to a lawsuit filed earlier this month after the restaurant remained open despite losing its operating license for violating both Los Angeles County health orders and the Burbank Municipal Code.

READ MORE: Cal/OSHA To Make Highly-Anticipated Decision On Masks In Workplace Thursday

According to the order, the restaurant would only be allowed to reopen once it has both a county health permit and a city conditional use permit.

If the restaurant continues to operate in violation of the court order, the city said it would return to the court for further orders and enforcement.

MORE NEWS: Family Continues Search For Keion Dade, Man Who Went Overboard Catalina Express Near Long Beach

A hearing on a preliminary injunction is set for March 26.