Part One
GENERAL PART
Chapter VIII
MEASURES TO SECURE THE PRESENCE OF THE DEFENDANT AND FOR UNOBSTRUCTED CONDUCT OF CRIMINAL PROCEEDINGS
2. Specific Measures
e) Detention
b. Treatment of Detainees
Basic Rules
Article 217
During detention the personality and dignity of a detainee may not be insulted .
Only those restrictions necessary for preventing escape, incitement of other persons to destroy, conceal, alter or falsify evidence or traces of a criminal offence may be applied against a detainee, as well as direct or indirect contacts of the detainee aimed at influencing witnesses, accomplices or concealers.
Persons of different sex will not be detained in the same room. As a rule, persons suspected of participating in the commission of the same criminal offence, or persons serving a custodial criminal sanction and persons in detention will not be accommodated in the same room. If possible, persons for whom there is grounded suspicion of being repeat offenders will not be accommodated in the same room as other persons deprived of liberty against whom they could exert harmful influence.
EDIT.