Psychiatric treatment as an alternative to imprisonment