I recall in my readings that after Alfonso the Great captured Malacca, he ordered the pillaging and extermination of a large portion of the Malay Muslim residents, while leaving the Javanese and Chinese merchants unharmed. He did this in order to reduce the unrest in the city. That is how he managed to hold the city for a century and Portugalize the region to a fair extent.

So I would say it is realistic that a city would temporarily be very loyal to it's owner after a massacre.