"District attorneys denied that, saying that the city has recognized that residents may keep rifles and shotguns as a form of self-defense but that the law "is more fairly characterized as a safe-storage provision."