Acid, base, and uncatalysed isomerisation of Z-to E-amidine. A mechanistic study