Top UN court confirms jurisdiction to hear the two countries’ mutual discrimination claims over Nagorno-Karabakh.