That's basically down to the game engine itself. I can't recall, offhand, if the game does this or not. I know RTW did... and I found it very annoying! You exterminate a faction, only to find it popping up again.

I think I spend far too much time modding .... it means I have not actually been able to play the game properly for ages!