Nothing contained in this part shall prevent cities, counties, and cities and counties from regulating carnivals or amusement rides, nor prevent them from enacting legislation more restrictive than this part with respect to carnivals or amusement rides.