Rotation of a double C=N bond driven by palladium