Chair-boat form transformation of piperazine-containing ligand toward the preparation of dirhenium metallacycles.