According to the UN, committing genocide is no bar to serving as a high ranking official in the UN's legal apparatus.
On June 15, 2015, the UN General Assembly elected Sudan as one of only five member states serving on the executive board of its top legal committee. Sudan will become "Rapporteur" when the General Assembly starts a new annual session in September.
Over 300,000 people have been killed and 2 million displaced in Darfur, and Sudanese President Omar al Bashir has been indicted by the International Criminal Court for crimes against humanity and genocide. Perhaps the UN was thinking his expertise in committing international crimes makes him an expert in defining and applying international criminal law.