The court can apply medical enforcement measures in relation to the person who:
1) committed the act envisaged in an article of the Special Part of this Code in an insane state.
2) Who after the committal of the crime develops such a mental disorder which makes assignment or implementation of the punishment impossible.
3) Who committed a crime in the state of limited sanity.
4) Who committed a crime and has been recognized as one in need of treatment against alcohol or drug addiction.
Types of medical enforcement measures are:
1) outpatient supervision by psychiatrist and enforced treatment;
2) enforced treatment in general psychiatry hospitals;
3) enforced treatment in special psychiatry hospitals;
The court can assign in addition to punishment outpatient supervision by psychiatrist and enforced treatment for those convicted for committal a crime in the state of mental disorder not ruling out sanity, but who need treatment against alcohol, drugs or mental disorder not ruling out.
Source: Iravaban.net