A new phototransformation of methoxycarbonyl-substituted (E,Z,E)-1,3,5-hexatrienes: easy access to ring-annelated 8-oxabicyclo[3.2.1]octa-2,6-diene derivatives.