UK cannabis law changed in 2018 with an update to the Misuse of Drugs...
https://dlf-ne.org/is-cannabis-legal-in-the-uk-or-not-in-2026-clearing-up-the-confusion/
UK cannabis law changed in 2018 with an update to the Misuse of Drugs Regulations 2001, not the older 1971 Act. This allowed specialist doctors to prescribe cannabis-based medicines listed under Schedule 2