A restriction order is made by the court under Section 59 of the Criminal Procedure (Scotland) Act 1995 at the time of disposal and is added to a compulsion order. It is made by the court at the time of sentencing where the court considers that the person presents a serious risk to the public.