Similarly, in the much less likely case that a Town or City is destroyed, replaced, or removed while resolving a Build Card, any Building already queued up by that Build Card stills happens even if the conditions for it are now no longer met.
If there is more than one Invader Card in the Build space, then Towns and Cities added/destroyed from the first card
do count for the second card. Likewise if there is a build from England's "High Immigration": Any buildings added from that rule will count for (e.g.) the regular Build. In general, you check what lands will Build at the beginning of looking at the Build Card.