BBC has a little backgrounder on the International Court of Justice, which includes these previous rejections of ICJ rulings:
In 1984, the United States walked out of a case brought by the Sandinista government of Nicaragua. The Sandinistas had complained about the activities of the US-supported Contra rebels but the Reagan administration was angered by the court’s insistence that it had jurisdiction and refused to take any further part in the proceedings.
In 1977, Argentina refused to accept a ruling, which gave Chile possession of islands in the Beagle Channel. Only the intervention of the Pope prevented war.