As Sar stated it is contrary to federal law but doesn't mean they won't try to enforce it. If you can please state the name of the small town. Sometimes they have exceptions to anyone certified under the FAA. I always keep a copy printed of the FAA Statement–Federal vs. Local Drone Authority...