DENVER (AP) — A cannabis farm’s neighbor can sue them for smells and other nuisances that could harm their property values, a federal appeals court ruled Wednesday.

The 10th U.S. Circuit Court of Appeals ruling revives a lawsuit between a Colorado horse farm and a neighboring marijuana-growing warehouse.

The horse farm’s owners, the Reillys, sued in 2015, claiming that the warehouse would diminish their land’s value by emitting “noxious odors” and attracting unsavory visitors. A federal district court dismissed the Reillys’ claim, and the warehouse opened in 2016.

“The landowners have plausibly alleged at least one (racketeering) claim,” the judges wrote.

The horse farm owners appealed, and a three-judge appeals panel agreed Wednesday that their claims should be heard. But the judges said the Reillys can’t sue Colorado to force the state to enforce federal drug law and not allow the cannabis warehouse in the first place.

The southern Colorado case is interesting because the horse farm owners are trying to use a 1970 federal law crafted to fight organized crime. The Reillys say that federal racketeering laws entitle them to collect damages from the cannabis farm, even though it is legal under state law.

“The landowners have plausibly alleged at least one (racketeering) claim,” the judges wrote.

Cannabis legalization opponents say the racketeering strategy gives them a possible tool to break an industry they oppose. It could give private citizens who oppose legalization a way to sue the industry out of business, even as federal officials have so far declined to shut down most cannabis businesses operating in violation of federal drug law.

“This is a tremendous victory for opponents of the marijuana industry,” said Brian Barnes, a Washington-based lawyer who represents the Reillys on behalf of the anti-crime nonprofit group Safe Streets Alliance.

Owners of the cannabis warehouse, owned by a company called Alternative Holistic Healing, did not immediately return a call for comment Wednesday. An attorney representing them in the case could not be reached, either.

The case now goes to back to a federal district court that had earlier dismissed it.

The appeals panel handed cannabis opponents a defeat on another case Wednesday, however. The judges ruled that a lower court was right to dismiss a claim from a group of sheriffs in Colorado, Nebraska and Oklahoma, who had asked the federal court to block Colorado’s cannabis law.