Unfortunately, the Illinois Supreme Court has declared that cities may ban or arbitrarily restrict ownership of any type of firearms provided only that they don't absolutely forbid ownership of all firearms. I know that doesn't make such bans unconstitutional any more than a court declaration that "two plus two is five" would make it so. But the government that makes such declarations is more than willing to use force against anyone who would challenge them.