Councillor in court for threat to kill