The win is a show of support for the International Criminal Court as the Trump administration moves to thwart its work.