To ask the Scottish Government how many times in each of the last three years prisoners have spent time in police custody instead of prison due to (a) delays in escort services, (b) late court appearances, (c) being locked out of prison and (d) other reasons, also broken down by the length of stay in police custody.