4.  The applicant was born in 1996 and before his arrest lived in Zhovten village in the Odessa region. 5.  On 21 May 2012 the applicant and his cousin, M., travelled to Donetsk, approximately seven hundred kilometres from Zhovten. 6.  On 24 May 2012 they snatched a handbag from a lady sitting at a tramway stop in Donetsk. 7.  According to the applicant, on 24 May 2012, the police arrested him and M. at Donetsk bus station while they were trying to sell a mobile phone which they had found in the stolen bag. 8.  According to the detention order available to the Court, the police arrested the applicant and M. on 25 May 2012. 9.  On 25 May 2012 the police questioned the applicant who said that he lived in Zhovten with his mother, Vera Adajie, and two sisters and that he was not working or studying. The applicant also said that “presently he [was leading] a vagrant lifestyle”. The applicant also told the police that on 21 May 2012 he and M. had travelled from Zhovten to Donetsk to “earn some money”. On 22 May 2012 they had arrived in Donetsk and for the following three days had earned money by busking on trams. On 24 May 2012 they had stolen a handbag and had gone to Donetsk bus station because they had intended to return to their homes in Zhovten village. However, at the station they had been apprehended by the police. 10.  On 25 May 2012 the police assigned lawyer L. as the applicant’s defence counsel. 11.  On 26 May 2012 the applicant was sent to the Donetsk ITT (a detention facility). 12.  On 28 May 2012 the police charged the applicant with robbery. On the same day V., an investigator, asked the Kyivskyy District Court of Donetsk to order the applicant’s pre-trial detention. He noted that the applicant was charged with a serious offence punishable by up to seven years’ imprisonment, and that if at liberty he could hinder the investigation, flee or reoffend, because he came from a poor family and did not receive any financial support from it, and also because he was not living at his permanent place of residence but had been “leading a vagrant lifestyle all over the territory of Ukraine from an early age”. The investigator stated, without developing further, that if at liberty the applicant could influence the victim. 13.  On 31 May 2012 the police assigned lawyer P. as the applicant’s defence counsel instead of lawyer L. 14.  On 1 June 2012 the Kyivskyy District Court of Donetsk examined the investigator’s request in the presence of the applicant and his lawyer, who asked the court to choose a non-custodial preventive measure for the applicant. The applicant told the court that the police had not exerted any physical pressure on him. 15.  On the same day the court held that the investigator’s request was well-founded and ordered the applicant’s pre-trial detention. The court noted that, as the applicant did not live at his permanent place of residence and was charged with a serious offence punishable by up to seven years’ imprisonment, if at liberty he could hinder the investigation, flee or reoffend. The applicant was placed in the Donetsk SIZO (a pre-trial detention facility). 16.  Lawyer P. appealed against that decision and asked the Donetsk Regional Court of Appeal to release the applicant subject to an undertaking not to abscond. 17.  On 13 June 2012 the Donetsk Regional Court of Appeal upheld the decision of 1 June 2012. While stating that the applicant had a permanent place of residence in the Odessa region, it held that the fact that he led a vagrant lifestyle, came from a poor family and did not receive any financial support from it warranted his detention and proved that a non-custodial measure was “insufficient to make [him] comply with the procedural obligations of a criminal trial”. 18.  On 1 March 2013 the Kyivskyy District Court of Donetsk sentenced the applicant to one year of imprisonment for robbery. 19.  In his application form, the applicant submitted that on 24, 25 and 26 May 2012, by “depriving [him] of sleep” and “exerting [on him] physical pressure”, the police had forced him to sign documents which did not reflect the oral statements which he had actually made before the police. 20.  The relevant provisions of the Code of Criminal Procedure, as worded at the material time, read as follows:
Article 106: Arrest of a suspect by an investigating force
“An investigating force shall be entitled to arrest a person suspected of a criminal offence for which a penalty in the form of deprivation of liberty may be imposed only on one of the following grounds: 3. if clear traces of the offence are found either on the body of the suspect, or on his/her clothing, or with him/her, or in his/her home.
If there is other information giving grounds to suspect a person of a criminal offence, an investigating force may arrest such a person if the latter attempted to flee, or does not have a permanent place of residence, or the identity of that person has not been established.
For each incidence of a suspect being arrested, the investigating force shall be required to draw up an arrest order (протокол затримання) outlining the grounds, the motives, the day, time, year and month, the place of arrest, the explanatory statements of the person detained and the recorded time that the suspect was informed of his right to meet with defence counsel and of his arrest, in accordance with the procedure provided for in paragraph 2 of Article 21 of the present Code. The arrest order shall be signed by the person who drew it up and by the detainee.
A copy of the arrest order with a list of his/her rights and obligations shall immediately be handed to the detainee and sent to the prosecutor. At the request of the prosecutor, the evidence which served as the grounds for the arrest shall be sent to him/her as well ...
Within seventy-two hours of the arrest, the investigating force shall:
(1) release the detainee if the suspicion that he/she committed the crime has not been confirmed, if the term of the preliminary detention established by law has expired or if the arrest has been effected in violation of the requirements of paragraphs 1 and 2 of the present Article;
(2) release the detainee and select a non-custodial preventive measure;
(3) bring the detainee before a judge with a request to impose a custodial preventive measure on him/her.
If the arrest is appealed against to a court, the detainee’s complaint shall be immediately sent by the head of the detention facility to that court. The judge shall consider the complaint together with the request by the investigating force for application of the preventive measure. If the complaint is received after the preventive measure has been applied, the judge shall examine it within three days of receiving it. If the request has not been received or if the complaint has been received after seventy-two hours of detention, the complaint shall be considered by the judge within five days of receiving it.
The complaint shall be considered in accordance with the requirements of Article 165-2 of this Code. Following its examination, the judge shall give a ruling, either declaring that the arrest is lawful or allowing the complaint and finding the arrest to be unlawful.
The ruling of the judge may be appealed against within seven days of the date of its adoption by the prosecutor, the person concerned, or his or her defence counsel or legal representative. Lodging such an appeal does not suspend the execution of the court’s ruling.
Preliminary detention of a suspect shall not last for more than seventy-two hours.
If, within the terms established by law, the ruling of the judge on the application of a custodial preventive measure or on the release of the detainee has not arrived at the pre-trial detention facility, the head of the pre-trial detention facility shall release the person concerned, drawing up the order to that effect, and shall inform the official or body that carried out the arrest accordingly.”
Article 148: Purpose and grounds for the application of preventive measures
“Preventive measures shall be imposed on a suspect, accused, defendant, or convicted person in order to prevent him/her from attempting to abscond from justice, from obstructing the establishment of the truth in a criminal case, from pursuing criminal activities, and in order to ensure the execution of procedural decisions.
Preventive measures shall be imposed where there are sufficient grounds to believe that the suspect, accused, defendant or convicted person would attempt to abscond from justice, or if he/she fails to comply with procedural decisions, or obstructs the establishment of the truth in the case or pursues criminal activities.”
Article 149: Preventive measures
“The preventive measures are as follows:
(1) a written undertaking not to abscond;
(2) a personal guarantee;
(3) the guarantee of a public organisation or labour collective;
(3-1) bail;
(4) detention;
(5) supervision by the commander of a military unit.
...”
Article 434: Detention and placement in custody of a minor
“Detention and placement in custody as a preventive measure may be applied to a minor only in exceptional circumstances, where this is warranted by the seriousness of the crime he/she is suspected of, with the grounds present and according to the procedures provided in Articles 106 and 148 of this Code.
A minor’s parents or guardian must be immediately notified of his/her arrest and pre-trial detention.”
Article 436: Release of a minor under supervision of his parents, guardians or administration of a residential facility for children
“Apart from the measures enumerated in Article 149 of this Code, a minor can be released under supervision of his/her parents, guardians or the administration of a residential facility for children. In such a case parents, guardians, or the facility’s administration gives a written undertaking stating that they will ensure the proper conduct of the minor and his/her appearance before an investigator, a prosecutor or a court.” 21.  The relevant international material is summarised in Korneykova v. Ukraine (no. 39884/05, §§ 25-27, 19 January 2012).