Tuning the formation of a covalent haem-protein link by selection of reductive or oxidative conditions as exemplified by ascorbate peroxidase.