Lanthanide(III) complexes of a pyridine N-oxide analogue of DOTA: exclusive M isomer formation induced by a six-membered chelate ring.