Any person or persons aggrieved by any decision of the said director, either granting or refusing, in whole or in part, an application for a license to erect, construct, extend, alter, or improve any wharf, pier, or bulkhead, or other harbor structure, or as to any other matter or thing under this act, may, within thirty days after the date of the said decision, present a petition to the court of common pleas of the proper county, setting forth the facts of the case and the ground of the petitioner's complaint; and thereupon the said court, having first caused due notice of the presentation of the said petition, and of the time fixed for the hearing thereof, to be given to all persons whom they may deem legally interested therein, shall proceed to hear and determine the subject-matter of the said petition; and shall make such order in the premises as he may think the said director should have made, and the said order shall be final and conclusive. It shall be lawful for the said court to appoint a commissioner to take evidence to be used in the said hearing, and to make such order for the payment of the costs, by one or more of the parties to the proceedings, as justice may require.
53 P.S. § 14202