The writ of certiorari is issued by a higher court to an inferior court or tribunal commanding the latter to transfer the record of a case to the higher court for review, or to quash an order passed by the inferior court or tribunal in excess of jurisdiction or in violation of the principles of natural justice.