text: The International Court of Justice is not to be confused with the International Criminal Court.  The ICJ's main functions are to settle legal disputes submitted to it by states and to give advisory opinions on legal questions submitted to it by duly authorised international organs and agencies.\n\nThe ICC is a permanent tribunal to prosecute individuals for genocide, crimes against humanity, crime of aggression, and war crimes, as defined by several international agreements.  The Court can only exercise its jurisdiction when national courts are unwilling or unable to investigate or prosecute such crimes, thus being a "court of last resort". Primary responsibility to exercise jurisdiction over alleged criminals is therefore left to individual states.