Opening a spiropyran ring by way of an exciplex intermediate.