The International Court of Justice has dismissed a case filed by Serbia and Montenegro that accused eight NATO countries of genocide for the 1999 airstrike campaign against Yugoslavia .