Thiazepine moiety-controlled regioselective rearrangements of 7-oxanorbornadiene derivatives.