Mayor defends fire company’s choice of sex offender as chief