Understanding the interplay of weak forces in [3,3]-sigmatropic rearrangement for stereospecific synthesis of diamines.