The embattled mayor of Townsville has threatened to sue the Queensland Premier if he is ousted over allegations he lied to voters.