A phenanthroline-terpyridine hybrid as a chameleon-type ligand in a reversible metallosupramolecular rearrangement.