What are the legacies of colonial epistemologies within legislation, prosecution and/or legal activism today?

What are the legacies of colonial epistemologies within legislation, prosecution and/or legal activism today? Homosexuality in one or more former British colonies.
The essay should cover the colonial era (sexual crimes (homosexuality) of colonists in the colonial era and postcolonial era) to the current situation, how these crimes are reflected in today’s legislation, politics, prosecutions and legal practice.
Using a theoretical basis !!! (Said “Orientalism”; Spivak “Epistemic violence”); Foucault.