(a) Any person convicted before the municipal court shall have the right to petition the Superior Court of Fulton County for issuance of a writ of certiorari, provided all costs are first paid and bond and security given in double the amount of the fine imposed, to answer the final judgment rendered in the case. (b) Nothing in this section shall prevent the defendant who desires to obtain a writ of certiorari therefor from the superior court from doing so; provided, however, that the applicant failing to give bond and security may, in the discretion of the judge, be placed in jail to await the final judgment of the appeal. Nothing in this section shall be construed to prevent any person convicted in the municipal court of a violation of any ordinance of the city from petitioning for a writ of certiorari directly to the superior court in accordance with provisions of state law in such cases.