Any city, county, or city and county charter or, in the absence of a charter provision, the governing body of any local agency and any agency not subject to Section 19251 by establishing rules and regulations, may prohibit or otherwise restrict the following: