If Alliance > Horde population, Alliance remains locked until Horde is filled up a bit. Vice versa.
Edit:
Including the developer philosophy here as well: