A federal appeals panel on Friday affirmed a Minnesota district court’s ruling that bars a felon from using state-legal medical marijuana while he is on supervised release.

Three judges from the U.S. Court of Appeals for the Eight Circuit said that although prescription medical marijuana has been legal in Minnesota since 2014, U.S. District Judge Donovan Frank “correctly concluded” that John Edward Schostag’s use “even for medical purposes … contravenes federal law.”

Listen to experts discuss the vast differences and patchwork regulation state-to-state as cannabis legalization continues to grow across the U.S. Listen Now.