Either party to such contest feeling aggrieved by the final decision of such special court may present his petition in writing to the supreme court of appeals, or a judge thereof in vacation, within thirty days after such final decision is certified to the governor, as hereinbefore provided, praying for the suspension, setting aside, or vacation of such final decision. The applicant shall deliver, or cause to be delivered, a copy of such petition to the other party to such contest, or, in case of his absence from the state or from his usual place of abode, he shall mail, or cause to be mailed a copy of such petition addressed to his last known post-office address, before presenting the same to the court, or the judge. The court, or the judge, shall fix a time for the hearing on the application, but such hearing shall not be held sooner than five days, unless by agreement of the parties, after the presentation of such petition, and notice of the time and place of such hearing shall be forthwith delivered to the other party to such contest, or, in case of absence from the state or from his usual place of abode, such notice may be given by mailing, or causing to be mailed, the same, or a copy thereof, addressed to him at his last known post-office address. If the court, or the judge, after such hearing, be of the opinion that a suspending order should issue, the court in its, or the judge in his, discretion, may suspend such final decision and may require bond upon such conditions and in such penalty, and impose such terms and conditions upon the petitioner, as are just and reasonable; and the court, or the judge, shall fix a time for the final hearing on the application. The hearing of the matter shall take precedence over all other matters before the court. For such final hearing, and before the day fixed therefor, the special court shall file with the clerk of the supreme court of appeals all papers, documents, testimony, evidence, and records, or certified copies thereof, which were before it at the hearing resulting in the final decision from which the petitioner appeals, together with a copy in writing of its final decision; and, after argument by counsel, the court shall decide the matter in controversy, both as to the law and the evidence, as may seem to it to be just and right. The supreme court of appeals is hereby given jurisdiction to enforce the provisions of this section by writ of prohibition, mandamus and certiorari, as may be appropriate.