The Mass SJC persuasively answered this Q in 2014.
It held that bc state officers are creatures of state law, when state law legalizes marijuana, it curtails the authority of state police to investigate legalized conduct — even if that conduct violates fed law. law.justia.com/cases/massac...
Matthew Segal
Recently-filed brief in the CA11 on cross-enforcement: Where marijuana is partly or entirely legalized at the state level, can state officers still search a car for marijuana based on probable cause of the *federal* crime of marijuana possession? US v. Hernandez, No. 26-10481.