The ruling might set a precedent to allow prosecution of other government leaders linked to atrocities.