The legal change needs to explicitly aim to legalize said use and include a legal way to obtain them without a medical justification.
All timeframes:
Will any country legalize recreational use of opioids before 2028?13%
Will any country legalize recreational use of opioids before 2030?24%
Will any country legalize recreational use of opioids before 2036?27%
Will any country legalize recreational use of opioids before 2045?46%
Will any country legalize recreational use of opioids before 2060?68%
Will any country legalize recreational use of opioids before 2100?69%
See also:
Will any country at least partially ban alcohol before 2100 for non-religious reasons?60%
Will any country legalize recreational use of benzodiazepines before 2100?62%
(and other timeframes)