how does store building work ?
it removes a building from your city and puts it into the inventory
all the things it gives will be removed
in this case store building wants to remove the population the building give
but it can't do that because your city has less free population than the building gives
and it is not allowed to drop below 0 available population