SANTIAGO, Chile – Chile’s Supreme Court has ruled that a company can go ahead with plans to produce medical marijuana.

The court ruled unanimously that the agriculture ministry unfairly canceled Agrofuturo’s permit to grow marijuana for therapeutic products.

The ministry based its cancellation on a health service prohibition against including marijuana in pharmaceutical products.

Friday’s ruling is based on due process reasons and does not make clear whether the path is now open for a medical marijuana boom in Chile.

It is legal in Chile to consume marijuana alone on private property, but against the law to grow it without a government permit.