Light-Induced and Thermal π-Skeletal Rearrangement of Heptalenes with Retention of Configuration†