That is a good point, but am sure only British National or those holding Residence can return (do not quote me on that though), lucky for me am in Germany and my wife has got her EUSS Visa. But could be that if a Thai travelled to say Switzerland first stayed there for 2 weeks then travelled to the UK they would not need any quaratine.
Am sure someone on here will have better info