Hi,
What happend is that my guarded city, without any enemies around it swapped from my ownership to ownership of a computer faction and back to me all in the same turn. Voiding my building cue but not killing my troop inside the city.
Edit: all sites outside the city proper like Horses ,Wargs and a clay pit lose their buildings. Same as faction specific buildings and spells cast on the city.