I'm convinced there was no criminal intent in what he has done. Yes, there's resentment about aspects of the legal system and public officials who have refused to meet with him or discuss ways in which he might help to meet the needs of patients who have a legal right to have access to marijuana. But there's no criminal intent. But it doesn't create an exemption from laws against selling, distributing or transporting marijuana. But it definitely creates problems.
Patients can grow marijuana in their homes, but it takes six months for the plants to mature.
And some can't grow it. He contacted law enforcement officials to seek cooperation and counsel. He received none. Sentence him to community service setting up a distribution network that meets every legal criterion, with the stipulation that no marijuana changes hands until you or a panel of judges has reviewed it for strict legality. Or sentence him to strict probation and keep an eye on him.