Importance of the transition metal in the catalysis of a diene rearrangement