Section 28. Any person aggrieved by a ruling or decision of the registrar may, within ten days thereafter, appeal from such ruling or decision to the board of appeal on motor vehicle liability policies and bonds created by section eight A of chapter twenty-six, which board may, after a hearing, order such ruling or decision to be affirmed, modified or annulled; but no such appeal shall operate to stay any ruling or decision of the registrar. In the administration of the laws and regulations relative to motor vehicles, the registrar, or any person by him authorized, may summon witnesses in behalf of the commonwealth and may administer oaths and take testimony. The board or the registrar may also cause depositions to be taken, and may order the production of books, papers, agreements and documents. Any person who swears or affirms falsely in regard to any matter or thing respecting which an oath or affirmation is required by the board or the registrar or by this chapter shall be deemed guilty of perjury. The fees for the attendance and travel of witnesses shall be the same as for witnesses in civil actions before the courts, and shall be paid by the commonwealth upon the certificate of the registrar filed with the comptroller. The supreme judicial or superior court may, upon the application of the board or the registrar, enforce all lawful orders of the board or the registrar under this section.