Within ten days after the service of any order or direction of the Department of Labor and Industry, any person aggrieved may apply to a judge of the district court for an order restraining its enforcement, and upon not more than 30 days' notice a hearing may be had before such court, or before three impartial expert referees appointed by the court, who shall file their report within ten days after the hearing. The court may alter, annul, or affirm the order or direction complained of; the decision to be based upon the hearing by the court, or upon the report of the referees. Such decision shall take the place of the original order. In cases of affirmation, the losing parties shall pay a reasonable compensation to the referees, to be fixed by the court. In case of decisions rendered adverse to the order of the Department of Labor and Industry, such compensation shall be paid out of the appropriation for the support of the department.