they were grandfathered into the program in the late 70's after nixon figured out there is no useful medical purpose for cannabis.

11 states now say otherwise with 2 more waiting for a vote but only california has a public distribution system in place and they're mostly in the larger cities and most need a county and/or city license to operate.