A Thai court has sentenced former Prime Minister Thaksin Shinawatra to two years in prison over his handling of a…