An application for a production order or an order to grant entry may be made ex parte to a sheriff in chambers.
Provision may be made by rules of court as to the discharge and variation of production orders and orders to grant entry.
Rules of court under subsection (2) relating to production orders and orders to grant entry—
An application to discharge or vary a production order or an order to grant entry may be made to the sheriff by—
The sheriff may—