https://www.slab.org.uk/request-for-appointment-of-a-duty-solicitor/
Age of Criminal Responsibility (Scotland) Act 2019.