I think the legality would be a city ordinance. You can take your chances or call the PD or both