NorCal Cannabis has about 500 employees working in growing operations, processing, packaging and distribution, Ms. Grabstein said, and the company has raised as much as $76 million in investment.

In order to grow that business, she said, consumers need to be able to safely access legal product. Banning delivery — which ensures that a broader range of consumers can get pot — will just send people back to the illegal market, she said. And as a result, that elusive legal marijuana tax windfall will continue to be, well, elusive.

[Read about why the state’s legal marijuana market hasn’t been the tax boon proponents promised.]

But Ryan Coonerty, chairman of the Santa Cruz County board of supervisors, said the reality was more nuanced for many communities.

Santa Cruz County joined the lawsuit, he said, not because officials there are concerned about the ramifications of wider recreational marijuana access, but to protect established local growers and distributors from big, out-of-town companies that are just now jumping into the market.

“It’s supporting local business,” he said. “They’re an important part of our local economy and we have developed our own rules for our local needs and we want those to be respected in our community.”

Mr. Coonerty said “it’s interesting” to be grouped with jurisdictions that don’t want recreational cannabis. Nevertheless, he said, he read the passage of Proposition 64 as giving clear authority to local governments.

“I want these other communities to expand access,” he said. “But I believe it should be done above board.”