TRAVERSE CITY, Mich. (AP) — Judges can’t prevent people from using medical marijuana while on probation for a crime.

The Michigan appeals court ruled in the case of a man who was barred from using medical marijuana for a year despite having a state-issued card.

The appeals court says Michigan’s medical marijuana law can trump other laws that conflict with it.

The case involved Michael Thue, who was serving a year of probation for a road rage incident in the Traverse City area.

Thue’s probation ended in December, making the result moot for him. But the appeals court says the issue needed clarity for any future cases.