The provisions of this chapter shall not prevent the local authorities of any city, city and county or county by ordinance, within the exercise of the police power of such city, city and county or county, from imposing local regulations with respect to traffic in loose vehicle parts and vehicle accessories.