701. The agreement, if framed in accordance with the rules hereinbefore
contained, may for the determination of the question or questions thereby raised be brought before the court which would have jurisdiction to entertain an action, the amount or value of the subject-matter of which is the same as the amount or value of the subject-matter of the agreement. And for this purpose it shall be presented to the court as an exhibit to a petition preferred by one or more of the parties to the agreement in the way of summary procedure, to which petition the other parties to the agreement shall be named repondent, and in which petition it shall be alleged that the agreement was duly executed by all the parties, and that the controversy is real, and that the agreement is submitted bona fide for the purpose of determining the rights of the parties ; such petition shall be verified by affidavit, and the prayer of the petition shall conform to the stipulations of the agreement within section 699. *To what court agreement may be presented.*