Appointment of Thomas an error of judgement: PM