I don’t think these kind of spies leave their dictorial country and then afterwards decide to ruin it for others. Much more likely they left their country with the goal of tracking ‘dissidents’ already or they were pressured into doing this. Happens more often that a regime threaten or actually torture left behind family to get people far away to do what they (the regime) wants them to do.