The Permanent Court of International Justice was provided for by the Covenant, but not established by it. The Council and the Assembly established its constitution. Its judges were elected by the Council and the Assembly, and its budget was provided by the latter. The Court was to hear and decide any international dispute which the parties concerned submitted to it. It might also give an advisory opinion on any dispute or question referred to it by the Council or the Assembly. The Court was open to all the nations of the world under certain broad conditions.