. . . "expenses (including court costs and attorneys?? fees) incurred by the director or officer in connection with a proceeding in which the director or officer is a named defendant or respondent because the director or officer is or was in that" . . .