Spire upgrade capacities must be adhered to when adding upgrades to spires unless otherwise specified. However, there are many talents, advancements, and other effects that allow upgrades to be added to spires ignoring their capacity. So while you could not use a build action on the shown spire to get it up to five upgrades, there are many ways in which it could end up with the shown amount of upgrades.