Resurrecting a lawsuit that drew national attention, a federal appellate court ruled that a high school coach who directed players to assault a referee for alleged racial name-calling was acting in his official capacity.