The United Nations Human Rights Council voted to extend an international probe of alleged war crimes committed in Yemen despite strong opposition from Saudi Arabia and several of its allies.
Nations voted 21 to 8, with 18 abstentions, in favour of a resolution that renewed the UN-backed investigation for a year.
Last month, investigators detailed evidence of possible war crimes committed in Yemen by both the Saudi-led coalition and the Huthi rebels supported by Iran.
The coalition and the Yemeni government, which together are battling the Huthis, strongly criticised the probe's initial report, arguing that it underplayed rebel violations and Iran's role.
The Arab group in the rights council had backed a rival text that called on Yemen's national human rights commission to take charge of future investigations of the conflict.
That proposal was a non-starter for many states, given a widespread lack of confidence in the Yemeni commission.
The approved resolution led by a group of European states and Canada calls on investigators to deliver another report next September.
In what may have been a consolation to the Arab group, the council passed a second Yemen resolution calling for support to the national commission, but its impact is largely meaningless with the international probe continuing its work.
Probe members said they needed more time to fully document the range of violations in Yemen's conflict, which has killed nearly 10,000 people since March 2015 and triggered what the UN has called the world's worst humanitarian crisis.
Twenty-two million people in the country need aid, many of whom are at risk of famine.
Riyadh's ambassador to the UN in Geneva, Abdulaziz Alwasil, said he voted no because the resolution did not address his "legitimate concerns", notably about the "lack of balance" in the probe's first report.
The fact that it went to a vote underscored divisions on the issue within the 47-member rights council, which typically strives for consensus.
Britain's UN ambassador Julian Braithwaite had said his government was particularly "disappointed" that consensus could not be reached with the Arab group, as happened when the probe was set up a year ago.
"It is clear that many instances, alleged violations committed by all parties have not yet been fully documented, particularly those committed by the Huthis," Braithwaite told the council.
Human Rights Watch (HRW) said the vote "sent a clear message that it stands with Yemeni civilians".
"States at the UN Human Rights Council stood firm today, in the face of shameful efforts by the Saudi-led coalition to quash a UN expert inquiry," HRW's Geneva director, John Fisher, said in a statement.
Saudi Arabia intervened in Yemen in March 2015 when President Abedrabbo Mansour Hadi fled into exile as rebels closed in on his last stronghold.