UK cannabis law changed in 2018 through an update to the Misuse of Drugs...
https://www.tntmagazine.com/leisure-entertainment/leisure/why-is-cannabis-still-illegal-in-the-uk-the-history-behind-medical-cannabis-law/
UK cannabis law changed in 2018 through an update to the Misuse of Drugs Regulations 2001—not the Misuse of Drugs Act 1971. This allowed specialist doctors to prescribe cannabis-based medicines like Sativex and Epidyolex under Schedule 2