Mexican President Enrique Pena Nieto says he opposes any eventual legalization of marijuana, five days after Mexico's Supreme Court ruled in favor of four people who wanted to grow pot for personal use.

Pena Nieto said in a speech Monday that the court ruling "should in no way represent an opening for the consumption of much more dangerous drugs."

However, the president said he welcomed a debate on the question, and invited doctors, sociologists and other academics to contribute.

The Supreme Court ruled Wednesday that growing, possessing and smoking marijuana for recreation is legal under the right to freedom.

At this point, the ruling covers only the plaintiffs in a single case, a group of four people wanting to form a pot club.