4. Such declarations shall be deposited with the Secretary-General of the United Nations, who shall transmit copies thereof to the parties to the Statute and to the Registrar of the Court. 5. Declarations made under Article 36 of the Statute of the Permanent Court of International Justice and which are still in force shall be deemed, as between the parties to the present Statute, to be acceptances of the compulsory jurisdiction of the International Court of Justice for the period which they still have to run and in accordance with their terms. 6. In the event of a dispute as to whether the Court has jurisdiction, the matter shall be settled by the decision of the Court. Article 37 Whenever a treaty or convention in force provides for reference of a matter to a tribunal to have been instituted by the League of Nations, or to the Permanent Court of International Justice, the matter shall, as between the parties to the present Statute, be referred to the International Court of Justice. Article 38 1. The Court, whose function is to decide in accordance with international law such disputes as are submitted to it, shall apply: a. international conventions, whether general or particular, establishing rules expressly recognized by the contesting states; b. international custom, as evidence of a general practice accepted as law; c. the general principles of law recognized by civilized nations;

Select target paragraph3