The effect of the lattice expansion on high spin ⇌ low spin transitions