Law Society loses legal action over complaints staff