This old example is quite simplistic and was written before we had more fancy constraint. The purpose of the setup as written was indeed to optimize the cell size (lattice vectors) without disrupting the space group symmetry. Today you can do that with a space group constrain, but actually a better way to do that for a cubic material is to run a quick equation of state curve and find the lattice constant giving the minimum energy.