A Florida sheriff is threatening to lock up Hurricane Irma evacuees with outstanding warrants who seek emergency shelter — and garnered major blowback on social media for the dire warning.

“If you go to a shelter for #Irma, be advised: sworn LEOs will be at every shelter, checking IDs. Sex offenders/predators will not be allowed,” the Polk County Sheriff’s Office tweeted Wednesday, as Floridians are bracing for Hurricane Irma’s 185-mph winds.

A second tweet promised: “If you go to a shelter for #Irma and you have a warrant, we’ll gladly escort you to the safe and secure shelter called the Polk County Jail.”

The second tweet in particular drew ire from Twitterites who say the sheriff’s office is potentially endangering people wanted for low-level crimes such as parking tickets.

“Tell that to the inmates that were trapped and left to starve in prison during Katrina,” replied Matthew Drauch, alluding to reports by Human Rights Watch and others that sheriffs in New Orleans abandoned 600 prisoners behind during the deadly 2005 storm.

“You’re actively discouraging your citizens from seeking shelter from the hurricane? you’re a monster,” tweeted user @MacPherson9999.

Officials in Polk County, east of Tampa, opened emergency centers Wednesday morning.

The spokeswoman responsible for the tweet suggested people turn themselves in rather than avoid seeking help.

“We see that people [on Twitter] are upset, but the bottom line is the shelters are here to protect people and we want people to be safe,” department spokeswoman Carrie Eleazer Horstman told the Tampa Bay Times. “If you have a warrant, turn yourself in to the jail and if you are a predator, find somewhere to go.”