They haven't legalized it nationwide, but the ruling could have a major effect on the country's drug laws.