Government Code § 1852
CHAPTER 5. Obtaining Possession of Office
After notice to the adverse party, the court or judge shall proceed in a summary way to hear the allegations and proof of the parties, and to order any such books or papers to be delivered to the petitioner.