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: Woman Suspected Of Stabbing Man Surrenders Following Standoff In Pasadena

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: 16,000 Students Return To Elementary Schools In Anaheim For First Time In 13 Months

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: 2 Men Hospitalized After Large Explosion At Valley Glen Home

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