27 However, what was made clear in Dinsdale, which is relevant for present purposes, is that the approach formerly taken by some Australian courts, in the context of legislation which requires, as does the Sentencing Act, that a sentencing court decide that in the circumstances of the case the only appropriate disposition would be a sentence of imprisonment of a particular duration before considering whether or not to make an order of suspended imprisonment, may have involved error. Formerly, the courts, recognising that a discretionary judgment was involved, would often look to see what factors there were in the case which indicated that an order of suspended imprisonment should be made, rather than to impose imprisonment to be immediately served. The cases refer to such considerations as that the suspension of imprisonment would aid an ongoing process of rehabilitation, among many others affecting the form and gravity of the sentencing disposition to be chosen by the court.