Allylic stereocontrol of the intramolecular Diels-Alder reaction.