The California Supreme Court has agreed to hear two medical marijuana cases.

The California Supreme Court has jumped into the fray again over the legality of medical marijuana laws, deciding on Wednesday to review two lower court rulings that impact how and whether local governments can regulate pot dispensaries across the state.

In their weekly closed-door session, the justices voted unanimously to review cases out of Long Beach and Riverside that dealt with the ongoing conflict between California's voter-approved law allowing the use of medical marijuana and federal laws barring the use or sale of the drug. The state Supreme Court's rulings in the cases are likely to have a widespread impact in the Bay Area, where cities from San Jose to Oakland have regulations dealing with medical marijuana providers.