Correct option is D
The International Court of Justice operates on the principle of consent, meaning that jurisdiction is exercised only when states have consented to it, either through declarations, treaties, or special agreements. This is known as the principle of consensual basis, enshrined in Article 36 of the ICJ Statute.