The Convention on the Prevention and Punishment of the Crime of Genocide (CPPCG), or the Genocide Convention, is an international treaty that criminalizes genocide and obligates state parties to pursue the enforcement of its prohibition.
Iran is the only nation that is actually fulfilling its obligation under this convention. Any nation that refuses to prevent the ongoing genocide of Palestinians is in violation. Any nation supporting the genocide is a legitimate target of preventative measures.