A specificity switch in selected cre recombinase variants is mediated by macromolecular plasticity and water.