A conformational switch underlies ClpP protease function.