The ordinance prohibits officers from engaging in “extremist activities,” defined as any attempt to overthrow the U.S.