On the role of thermal activation in selective photochemistry