The info that you need is on here
https://www.cyclingweekly.com/news/product-news/electric-bikes-uk-law-234973
to be short the law changed on 1 Jan 2016 to make throttle illegal
if it was imported/made/originally bought (I think) before 1 Jan 2016 then it has Grandfather rights and is allowed...