Section 8. Whoever having waived jury trial in accordance with the provisions of section twenty-six A of chapter two hundred and eighteen is aggrieved by an order of the Boston municipal court or the district court, requiring him to recognize as provided aforesaid, may, upon giving the security required, appeal to the jury session designated pursuant to section twenty-seven A of chapter two hundred and eighteen for the conduct of jury trials in cases brought in the court wherein said order was made.