States are not moral agents, people are, and can impose moral standards on powerful institutions.
Noam Chomsky (2002). “The Umbrella of U.S. Power: The Universal Declaration of Human Rights and the Contradictions of U.S. Policy”, p.42, Seven Stories Press