The case illustrates the uncertainty some agencies face about marijuana policies now that the drug is legal.