Forced by a court order to allow long-banned gun stores to open in Chicago, Mayor Rahm Emanuel (D) on Wednesday introduced an ordinance that is so strict and so dramatically limits where the stores can operate that critics say it is little more than a continuation of the city’s ban.

In a city that for years has been at the center of national debate over gun control and gun violence — even before its decades-old handgun ban was invalidated by the Supreme Court in 2010 — the ordinance will almost certainly trigger a legal fight.

After the ordinance was introduced at the City Council meeting without comment, Emanuel said he believes he is on solid legal ground with what he called a “tough, smart and . . . enforceable” ordinance. It comes after a federal court ruling in January gave Chicago until July 14 to put gun store rules in place.

Emanuel said that in Chicago, where gun violence remains a headline-grabbing issue, “gun control is essential to our public safety.” But in recent years courts have struck down city gun laws as well as the state’s ban on concealed-carry permits.

Under the ordinance sent to the council’s public-safety committee, gun shops would be prohibited in 99.5 percent of the city.

Stores would not be allowed to sell more than one handgun a month to an individual, and they would be required to open their books to police for inspection “at all reasonable times.”

One provision certain to be examined closely by gun rights advocates is the requirement that gun stores have a video record of all transactions. But Emanuel said he believes it is legal, comparing it to cameras that record people making transactions at an ATM.

Alderman Joe Moreno (D) said the gun violence plaguing the city demands a tough ordinance.

“When it comes to guns and gun violence, I think we need to err on the side of being stricter [and] push the envelope of the legalities of it,” said Moreno, who added that he expects the ordinance will become law and that it will be challenged in court.

Richard Pearson, the executive director of the Illinois State Rifle Association, said he thinks someone will sue if the measure is enacted.

— Associated Press