The Colorado Supreme Court on Monday ruled that law enforcement officers cannot be forced to return marijuana to defendants even after they are acquitted of pot crimes because doing so would force officers to be marijuana “distributors” and violate federal law.

The ruling overturns a decision by the Colorado Court of Appeals, which ruled that police officers must return marijuana to defendants who win court decisions related to illegal marijuana possession in Colorado.

Forcing Colorado law enforcement officials to return marijuana to defendants after they win a court case would cause them to break the federal Controlled Substances Act, said the ruling written by Colorado Supreme Court Judge Allison Eid. Eid has been mentioned as a possible U.S. Supreme Court nominee by President Donald Trump.

“The return provision requires law enforcement officers to return, or distribute, marijuana,” the decision says. “Thus compliance with the return provision necessarily requires law enforcement officer to violate federal law.”

Three Colorado Supreme Court justices dissented, saying the Controlled Substances Act “immunizes federal and state officers from civil and criminal liability in the circumstances at issue here.”

Monday’s ruling says Colorado’s medical marijuana amendment does not protect officers from acting unlawfully under federal law. The high court ruled that the “return provision” of the Colorado amendment “is pre-empted and rendered void.”

The ruling stems from a Colorado Springs criminal case. On May 5, 2011, Colorado Springs police arrested Robert Crouse on charges of cultivating and possessing marijuana after seizing drug paraphernalia, 55 marijuana plants and about 2.9 kilograms of marijuana from his home.

He was charged with a felony count of cultivating more than 30 marijuana plants. A jury acquitted Crouse, who asserted that he was a registered medical marijuana patient and that state law authorized his cultivation and possession of marijuana.

Following the trial, Crouse requested that the district court order police to return the seized marijuana plants in conformance with the marijuana amendment that upon acquittal, marijuana “shall be returned immediately,” according to court records.

Crouse’s attorney Charles Houghton said Monday that although he differs with the Colorado Supreme Court decision, it didn’t affect his client.

“As far as Mr. Crouse is concerned, the case is moot. Years ago all the marijuana was returned to him,” Houghton said.

District Attorney Dan May’s office opposed the lower court decision, saying law enforcement would essentially be forcing police to “distribute” marijuana in violation of the federal CSA.

“This case was important. …There was a real conflict in the law. … It made law enforcement officers nervous,” May said Monday.

May said the decision could set a precedent for 20 states that have legalized marijuana in some form or another. It shows that federal law is supreme in this narrow application, he said.

“The two (laws) cannot consistently stand together,” the Colorado Supreme Court ruling says. “This court has held that an act is ‘lawful’ only if it complies with both state and federal law. Here, the officers could not be ‘lawfully engaged’ in law enforcement activities given that such conduct would violate federal law.”

Under the supremacy clause of the U.S. Constitution, the Constitution is the supreme law of the land and Congress has the power to preempt state law, the Colorado Supreme Court ruling says.

But Colorado Supreme Court Judge Richard Gabriel, who wrote a dissenting opinion, said he does not believe it is impossible to comply with both the Controlled Substances Act and the Colorado marijuana amendment.

Regulatory attorney Tom Downey, a director at Denver’s Ireland Stapleton Pryor & Pascoe P.C., said the court’s 4-3 decision will not impact Colorado’s commercial cannabis industry nor the personal and caregiver model. The opinion does provide clarity in the realm of enforcement, he said, noting the juxtaposition of state and federal law.

“(In the court’s opinion, having law enforcement) distribute marijuana back to the person acquitted, they would then be crossing the line into being actively engaged into distribution rather than passively allowing it to happen,” Downey said.

Colorado established medical marijuana regulations following a voter-approved measure in 2000. The state has allowed the growing, manufacturing and distribution of a federally illegal substance.