In sections 7A to 7C of this Act, “criminal proceedings” means any proceedings in which a JP court is exercising jurisdiction including in particular ancillary proceedings, such as proceedings in respect of—
breach of bail,
non-payment of a fine or other monetary penalty,
breach of an order of a court, or
failure of an accused person or a witness to attend a diet.
For the purposes of sections 7A to 7C, sections 61 and 63 of the Criminal Proceedings etc. (Reform) (Scotland) Act 2007 apply in respect of a sheriff as they apply in respect of a summary sheriff.