Photoisomerization of a molecular catalyst changes its conformation and switches the chirality of its reaction product.