Article I, Section 8, Clause 17 ONLY applies to the federal government.
Section 8 is titled "Powers of Congress." These enumerated powers for the our "federal government" have nothing to do with the powerso of state and local governments.
Yes, I realized that as I was making the post. I left it to the reader to figure out what bearing it has on any of this.