 Other preconditions of a custodial sentence are that a pre-sentence report has been obtained (in most cases), and the defendant is legally represented or has been offered the opportunity to be represented and has refused.For offenders aged between 18 and 20 years, the sentence is served in a Young Offenders Institution (YOI).For those aged 21 years and over, the sentence is served in a prison.