If it appears to the court that the subpena was regularly issued, the court shall thereupon enter an order that the witness appear before the board at the time and place fixed in the order and testify or produce the required evidence or both testify and produce.