This part does not prevent a local government from adopting and enforcing ordinances or resolutions consistent with this part relating to criminal street gangs and criminal street gang violence.