Court of Appeal upholds dismissal of former TIE acting director over textbook errors