NAIROBI , July 22 -- A Hague-based court issued a crucial ruling Wednesday on a border dispute between the Sudanese government and the semiautonomous region of southern Sudan , striking a tenuous compromise on one of the most explosive issues facing the East African nation .