In case any person refuses, fails, or neglects to obey a summons or subpoena issued under the authority of this act, or fails, refuses, or neglects to produce any books, papers, correspondence, memoranda, or record, the department or board or its agent duly authorized in writing may petition the court of common pleas of the county in which the inquiry is being carried on, or within which the person summoned or subpoenaed is found or resides or transacts business, setting forth the facts, whereupon the court shall have jurisdiction to direct such person to appear before the department or its agent, or before a referee or the board at a time and place fixed by the court, and give such testimony and produce such books, papers, correspondence, memoranda, and other records as may be required, or to issue to such person its subpoena requiring such person to appear before the court at a time fixed and there to give testimony touching the matter under investigation, or to produce such other evidence as may be required.
Any person who shall, without just cause, fail, neglect, or refuse to obey a subpoena or order of the court or who shall, without just cause, fail or refuse to attend and testify or to answer any lawful inquiry or to produce books, papers, correspondence, memoranda, and other records, if it is in his power so to do, in obedience to a subpoena or an order of the court may be punished by said court for contempt.
43 P.S. § 827