Criminal Procedure (Scotland) Act 1975

110Where sentence delayed, original warrant of commitment stands

In all cases where the accused pleads guilty at the first diet and is not forthwith sentenced by the sheriff, he shall be detained in custody until he is sentenced, under the existing warrant of commitment, unless the Lord Advocate shall consent to his being suffered to go at large, and, where such consent is given, it shall be on such conditions as to bail as the Lord Advocate shall fix, but no unreasonable delay shall be allowed to take place between the time of the accused pleading guilty and his being brought up for sentence.