Cops can travel around in uniform to other jurisdictions and still be cops. They just don't have authority to enforce minor jurisdiction specific laws. They may enforce state law like assault, murder, kidnapping, robbery, but not a local requirement for a permit to demonstrate.
Clever, no?