Ukraine pressed need for support as UN court rules on war