Any taxpayer, or any officer, department, Board or bureau of the City, or any person or persons jointly or severally aggrieved by any decision of the Board of Adjustment may present to a court of record a petition, duly verified, setting forth that such decision is illegal, in whole or in part, specifying the grounds of the illegality. Such petition shall be presented to the court within 30 days after the filing of the decision in the office of the Board. The court may reverse or affirm, wholly or in part, or may modify the decision brought up for review.