YPS headmaster’s appointment kicks up row