Cal. Health & Safety Code § 11362.1
(a) Subject to Sections 11362.2, 11362.3, 11362.4, and 11362.45, but notwithstanding any other provision of law, it shall be lawful under state and local law, and shall not be a violation of state or local law, for persons 21 years of age or older to: