A city in State A recently barred the sale and possession of ammunition within the city limits. A homeowner challenged the ban in a suit filed in State A district court. If the reviewing judge enjoined the law, it would likely be because: