Thinking of not following an executive order in Miami-Dade? You could face jail time.

Thinking of having a party with nine of your closest friends? Think again.

Violating an executive order in Miami-Dade can lead to criminal charges, according to Mayor Carlos Gimenez.

“Officers may charge Florida Statutes Section 252.50, Penalties, a second degree misdemeanor, should an individual fail to obey the Emergency Order,” the mayor’s office wrote last Tuesday.

Those who disobey orders can face up to 60 days in jail, a maximum fine of $500 or both, per Florida Statutes.

This reminder followed Gimenez’s mandate that banned restaurants, bars, gyms and entertainment venues from serving people on site. Miami-Dade police reiterated the penalty Tuesday afternoon following the mayor’s decision to limit public gatherings to under 10 people.

Although Broward officials have yet to limit public gatherings, the county’s latest order closed all nonessential businesses. Similar to Miami-Dade, those disobeying this mandate can be charged with a second degree misdemeanor, according to the South Florida Sun Sentinel.

The Broward Sheriff’s Office “will educate, warn and as a last resort issue a Notice to Appear (NTA),” said BSO spokeswoman Gerdy St. Louis. “In extreme incidents, physical arrest will occur.”

These penalties were similar to those across the country. In Ohio, “misconduct during an emergency” can result in any combination of 30 days in jail or a maximum fine of $250, according to the Dayton Daily News.

Overseas, however, the punishments were a bit more stiff. A potentially exposed person who went outside in South Korea got slapped with an $8,000 fine, The New York Times reported.