Double switching of a magnetic coordination framework through intraskeletal molecular rearrangement.