Nothing in this article shall prevent a city or other local governing body from adopting and enforcing any of the following:(a) Adopting local ordinances that regulate the location, operation, or establishment of a medical marijuana cooperative or collective, consistent with this article and Article 2.8 (commencing with Section 11362.84).(b) The civil and criminal enforcement of local ordinances d