Great time to bring up the Imperial Boomerang[1]. My paraphrasing: the weapons and technology that imperial and colonial powers develop or use to control subjugated populations will inevitably be used to also control its own population.
[1] https://en.wikipedia.org/wiki/Imperial_boomerang