The criminal jurisdiction of magistrates