In cases of sexual intercourse with young persons under section 70(1) of the Criminal Law (Codification and Reform) Act, courts must properly balance aggravating and mitigating factors and should not give overriding importance to standard mitigating features such as first offender status or family responsibilities. Community service, while available for sentences under 24 months imprisonment, is not automatically appropriate and requires careful inquiry into the circumstances of each case. The 24-month guideline is a starting point, not a rule of thumb. Certain offences, including sexual offences against minors, warrant caution in considering non-custodial sentences even if the effective sentence is less than 24 months. Aggravating factors must include considerations of corruption and depravation of young persons, breach of trust, exploitation of familial relationships, and the accused's conduct during trial. A sentence that is so lenient as to trivialize the offence and fail to reflect its seriousness is not in accordance with real and substantial justice and will not be certified on review.