10.  The applicant was born in 1965. On 17 August 1998 he arrived in Russia from Tajikistan. He stayed in Vladimir at his cousin's flat. 11.  On 22 January 1999 the applicant was arrested on suspicion of the unlawful purchase and possession of drugs. A search was carried out in the flat where he was staying. 12.  On 30 January 1999 the applicant was charged under Article 228 § 1 of the Criminal Code with the unlawful purchase and possession of 3 grams of hashish. He pleaded not guilty and indicated that he did not need an interpreter because he had studied in Leningrad. 13.  On 12 March and 5 April 1999 the applicant's detention was extended until 11 July 1999. 14.  On 4 June 1999 the Leninskiy District Court of Vladimir refused the applicant's request for release on bail. It found that the applicant's detention had been extended in accordance with the law and that no grounds for releasing him could be established. The applicant did not appeal to the Regional Court. 15.  On 30 June and 2 September 1999 the applicant's detention was extended until 21 December 1999. 16.  On 2 December 1999 the acting Prosecutor General approved the extension of the applicant's detention until 21 June 2000. The applicant appealed to the Leninskiy District Court, which on 28 December 1999 dismissed the appeal, finding that the applicant had been charged with an particularly serious criminal offence and had resided in Vladimir only temporarily, his permanent residence being in Dushanbe, Tajikistan, so that there was good reason to suspect that he would abscond if released. The applicant did not appeal against that decision to the Regional Court. 17.  On 21 June 2000 the supervising prosecutor approved the bill of indictment and the case against the applicant and twenty co-defendants was sent to the Vladimir Regional Court for trial. 18.  On 23 June and 17 July 2000 the applicant requested the Vladimir Regional Court to review the lawfulness of his detention on remand. 19.  On 18 July 2000 the Vladimir Regional Court ordered the case to be remitted for an additional investigation because the bill of indictment had not been translated into the Tajik language, even though seven of the defendants were Tajik. The court held that the applicant and his co-defendants should remain in custody. 20.  On 24 July 2000 the prosecution appealed against the decision but subsequently withdrew their appeal. On 30 August 2000 the case was returned to the Vladimir Regional Court for examination on the merits. 21.  On 23 November 2000 the Vladimir Regional Court ordered the case to be remitted for an additional investigation because the rights of some of the defendants had been unlawfully restricted. The prosecution appealed. 22.  On 28 February 2001 the Supreme Court of the Russian Federation quashed the decision of 23 November 2000. It found that, after the case had been remitted for an additional investigation on 18 July 2000, the prosecution had not remedied the defects identified by the Regional Court. In particular, the prosecution had not arranged for translation of the bill of indictment or checked that the interpreter had the requisite skills. In view of these procedural defects, the Supreme Court held that all the subsequent judicial decisions had been unlawful and remitted the case to the Regional Court for implementation of the decision of 18 July 2000. 23.  On 4 April 2001 the case was remitted to the prosecutor of the Vladimir Region for an additional investigation. On the same day a deputy prosecutor of the Vladimir Region extended the applicant's detention on remand by one month, until 4 May 2001.
(b)  Extension of the applicant's detention for three months (until 4 September 2001) 24.  On 19 April 2001 the prosecutor of the Vladimir Region applied to the Vladimir Regional Court for an order extending the applicant's detention. The applicant lodged objections in which he alleged, inter alia, that the prosecution had thus far failed to perform any additional investigation. 25.  On 28 April 2001 the Vladimir Regional Court established that the bill of indictment had been translated into Tajik and that on 18 April 2001 the defendants and their lawyers had begun their examination of the case file. Noting the gravity of the charges against the applicant, his Tajik nationality and absence of a permanent residence in Vladimir, the Regional Court further remanded him in custody until 4 September 2001. 26.  On 4 and 17 May 2001 the applicant appealed against the decision of the Vladimir Regional Court.
(c)  Quashing of the decision to extend the applicant's detention until 4 September 2001 27.  On 8 August 2001 the Supreme Court established that one of the applicant's co-defendants had not been provided with an interpreter into Uzbek and that the applicant and other co-defendants had had no access to the materials examined by the Regional Court. It held as follows:
“The defects of the court hearing described above and the curtailing of the defendants' statutory rights... are substantial violations of the rules of criminal procedure, which could have affected the judge's conclusions; the decision [of 28 April 2001] must therefore be quashed and the materials of the case relating to the extension of the defendants' pre-trial detention must be referred for a new judicial examination. During the new examination of the prosecutor's request, the above defects shall be remedied... and the arguments by the defendants and their counsel, including those concerning the lawfulness of their detention, shall be reviewed... The preventive measure [imposed on, in particular, the applicant] shall remain unchanged”.
By an interim decision of the same date, the Supreme Court refused the applicant leave to appear at the appeal hearing.
(d)  Second examination of the request for an extension of the applicant's detention until 4 September 2001 28.  On 11 September and 30 November 2001 the Vladimir Regional Court adjourned hearings in order to afford the defendants additional time in which to read the case-file. 29.  On 27 February 2002 the Vladimir Regional Court upheld a challenge by the applicant against the presiding judge. 30.  On 11 and 13 March, 12 April, 17 and 18 June 2002 hearings were adjourned because of the absence of several lawyers, including the applicant's counsel. 31.  On 15 August 2002 the Vladimir Regional Court again granted the prosecutor's request (of 19 April 2001) for an extension of the defendants' detention on remand until 4 September 2001. It found that it was necessary for the applicant to remain in custody because he was a national of Tajikistan, was not registered as resident in Vladimir, and had been charged with a serious criminal offence. The court also referred to certain “conclusions” contained in the prosecutor's application to the effect that the applicant might abscond or obstruct justice. The content of these “conclusions” was not disclosed. 32.  On 23 September 2002 the applicant lodged an appeal against the decision of the Vladimir Regional Court. He claimed that the contested decision was “unlawful and unconstitutional” and requested leave to appear in person at the appeal hearing. 33.  On 23 January 2003 the Supreme Court upheld the decision of 15 August 2002, finding as follows:
“The judge came to a well-justified conclusion that the defendants... could not be [released pending trial]. The judge had regard to the fact that these persons were charged with serious and particularly serious criminal offences, he considered the information on their character and all the circumstances to which the prosecutor had referred in support of his application...
The fact that the above-mentioned decision on the prosecutor's application was [only] made after the defendants had spent that length of time in custody... is not a ground for quashing the decision of 15 August 2002 because the first judicial decision on this matter was quashed in accordance with the law and the prosecutor's application of 19 April 2001 was remitted for a new examination. The subsequent progress of the criminal case is, under these circumstances, of no relevance to a decision on the prosecutor's application.”
By an interim decision of the same date, the Supreme Court refused the applicant's request for leave to appear because the defendants' arguments were clearly set out in their grounds of appeal and their lawyers were present at the hearing while the prosecutor was not. 34.  Meanwhile, on 4 September 2001 the additional investigation was completed and the case sent to the Vladimir Regional Court. On or about that date the applicant asked the court to order his release pending the trial. 35.  On 9 January 2002 the Vladimir Regional Court fixed the first hearing for 5 February 2002 and held that the applicant should remain in custody pending trial:
“[The court] did not establish any grounds... to amend or revoke the preventive measure imposed on the accused given the gravity of the offence with which the defendants are charged. Furthermore, the fact that the court decision extending the detention on remand of several defendants in order to afford them [time] to examine the case materials was quashed on appeal is of no legal significance. [In its decision of 8 August 2001] the Supreme Court did not revoke the preventive measure, the case was referred to the [trial] court without delay and no other grounds for amending the preventive measure were established.” 36.  On 11 February 2002 the applicant lodged an appeal against the decision. He complained, in particular, that his detention was unlawful because it had significantly exceeded the maximum eighteen-month period permitted by law, that the conditions in which he was detained were poor and that he had been ill-treated by police officers, both at the time of his arrest and subsequently. He alleged that his notice of appeal had never been dispatched to the Supreme Court. 37.  On 5 February 2002 the hearing was adjourned until 26 February because three defendants had failed to appear. On 15 February 2002 the applicant prepared an appeal against the decision to adjourn the hearing; in the notice of appeal, he also repeated the points he had raised in his appeal of 11 February. He again stated that his notice of appeal had not been sent to the Supreme Court. 38.  On 13 March 2002 the Vladimir Regional Court established that the case was not ready for consideration on the merits because of a series of procedural defects: in particular, several defendants had not had sufficient time to study the case file, one defendant had not been provided with interpretation facilities into Uzbek, and the applicant had not been informed in good time of the expert examinations. The court remitted the case for an additional investigation and remanded the defendants in custody “in the light of the gravity and dangerous nature of the offences”. 39.  On 11 April 2002 the prosecution appealed against the decision of 13 March and the applicant did likewise on 29 April. The applicant submitted, in particular, that the domestic law did not permit extensions of detention “during the investigation” beyond the maximum period of eighteen months which had expired, in his case, on 4 April 2001. 40.  On 28 May 2002 the case-file was forwarded to the Supreme Court for examination of the issue of detention on remand. 41.  On 8 August 2002 the Supreme Court refused, in an interim decision, the applicant's request for leave to appear, holding that his position had been clearly and exhaustively stated in the grounds of appeal. 42.  On 12 September 2002 it examined the appeals lodged by the prosecutor, the applicant and his co-defendants and found that the defence rights had not been impaired. On this ground it quashed the decision of 13 March 2002 and instructed the Vladimir Regional Court to proceed with the trial. It held that the applicant and his co-defendants should remain in custody because “there were no legal grounds to amend the preventive measure given the gravity and dangerous nature of the offences”. 43.  On 7 October 2002 the case-file was returned to the Vladimir Regional Court. 44.  On 18 November 2002 the Vladimir Regional Court extended the applicant's detention on remand until 3 December 2002. It found as follows:
“The case was referred to the Vladimir Regional Court on 2 September 2001; on 13 March 2002 it was decided to remit the case for additional investigation. On 12 September 2002 the Supreme Court quashed that decision on appeal by the prosecutor. Thus, the defendants have remained in custody for 8 months and 16 days, starting from the date of the case's referral and excluding the period between [the end of the] examination on the merits and the quashing of the decision [of 13 March 2002] on appeal.
Regard being had to the fact that the defendant is charged with serious and particularly serious criminal offences, in order to secure the examination of the case and the enforcement of the conviction [sic], there are no grounds to [release the applicant]. Under these circumstances, pursuant to Article 255 § 3 of the Russian Code of Criminal Procedure, the defendant's detention on remand is extended for an additional three months”. 45.  On 4 December 2002 the Vladimir Regional Court granted a further extension of the applicant's detention for three months, that is to say until 3 March 2003 [the decision mistakenly indicates 2002]. The grounds invoked by the court were identical to those set out in the decision of 18 November 2002. 46.  On 22 and 26 November and 5 December 2002 the applicant's lawyers lodged appeals against the decisions of 18 November and 4 December with the Supreme Court. They submitted, in particular, that the six-month period of the applicant's detention which had started from the moment the case was referred for trial, had expired on 2 March 2002 but had been extended only two months and sixteen days later, on 18 November. Therefore, the applicant's detention from 13 March to 12 September 2002 had not been covered by any detention order: the prosecution had not assumed responsibility for the case, whilst the courts considered that the case had been remitted for an additional investigation and held the prosecution accountable for the applicant's detention. 47.  On 3 March, 28 May, 28 August and 27 November 2003 and 27 February 2004 the Vladimir Regional Court authorised further extensions of detention in respect of the applicant and 12 co-defendants, on each occasion for a period of three months. The reasons given in the decisions of 3 March, 28 May and 28 August 2003 were identical to those given in the decisions of 18 November and 4 December 2002 (see above). The decisions of 27 November 2003 and 27 February 2004 referred to the gravity of the charges and the existence of “sufficient reasons to believe that the defendants would abscond”.
The applicant submitted appeals against each of these decisions. 48.  Between May 2003 and 15 March 2004 the trial proceeded. On 19 April 2004 the parties began their final submissions. 49.  On 28 May 2004 the Vladimir Regional Court, by an interim decision, held that the applicant's detention on remand was not to be extended because the prosecution had reduced the charges against him. He appears to have been released from custody the same day. 50.  On 21 March 2005 the Supreme Court examined the applicant's and/or his co-defendants' appeals against the decisions of 18 November and 4 December 2002, 3 March, 28 May, 28 August and 27 November 2003 and 27 February 2004 extending their detention on remand.
The Supreme Court quashed the decisions of 18 November and 4 December 2002 and 3 March 2003 on the ground that they had been given by an incomplete formation: a single judge instead of a three-judge panel. As regards the applicant's situation, it further held:
“Since the judge's decision has been quashed because of a breach of the rules of criminal procedure, the court will not examine the arguments in the appeals alleging that the extension of the [applicant's] detention was unlawful on other grounds. The matter will not be remitted for a new examination because [the applicant] has been acquitted.”
The Supreme Court upheld the other decisions, finding that the Regional Court had correctly referred to the gravity of the charges and the existence of sufficient grounds to believe that the defendants would abscond during the trial. 51.  On 18 June 2004 the Vladimir Regional Court, by an interim decision, dismissed the charges of participation in an organised criminal enterprise and running an opium den against the applicant after they were withdrawn by the prosecution. 52.  By another interim decision of the same date, the court dismissed a charge against the applicant in respect of one incident of drug possession because of a recent change in the Russian criminal law that had decriminalised possession of negligible amounts of drugs. 53.  Finally, by a judgment of the same date, the court acquitted the applicant of the remaining drug-trafficking charges because his involvement in the commission of the offences could not be proven. Some of his co-defendants were convicted and sentenced to various terms of imprisonment. 54.  On 21 March 2005 the Supreme Court of the Russian Federation upheld, on appeal, the above judgment and decisions of the Vladimir Regional Court. 55.  On 10 December 2002 the Constitutional Court examined the applicant's complaint concerning his exclusion from the proceedings before the Supreme Court and confirmed that the applicant should have had the right to appear in person and plead his case before the court if a prosecutor was present. 56.  On 15 July 2003 the Constitutional Court issued decision (определение) no. 292-O on the applicant's complaint about the ex post facto extension of his “detention during trial” by the Regional Court's decision of 18 November 2002. It held as follows:
“Article 255 § 3 of the Code of Criminal Procedure of the Russian Federation provides that the [trial court] may... upon the expiry of six months after the case was sent to it, extend the defendant's detention for successive periods of up to three months. It does not contain, however, any provisions permitting the courts to take a decision extending the defendant's detention on remand once the previously authorised time-limit has expired, in which event the person is detained for a period without a judicial decision. Nor do other rules of criminal procedure provide for such a possibility. Moreover, Articles 10 § 2 and 109 § 4 of the Code of Criminal Procedure expressly require the court, prosecutor, investigator... to release anyone who is unlawfully held in custody beyond the time-limit established in the Code immediately. Such is also the requirement of Article 5 §§ 3 and 4 of the European Convention... which is an integral part of the legal system of the Russian Federation, pursuant to Article 15 § 4 of the Russian Constitution...” 57.  On 22 January 2004 the Constitutional Court delivered decision no. 66-O on the applicant's complaint about the Supreme Court's refusal to permit him to attend the appeal hearings on the issue of detention. It held:
“Article 376 of the Code of Criminal Procedure regulating the presence of a defendant remanded in custody before the appeal court... cannot be read as depriving the defendant held in custody... of the right to express his opinion to the appeal court, by way of his personal attendance at the hearing or by other lawful means, on matters relating to the examination of his complaint about a judicial decision affecting his constitutional rights and freedoms...” 58.  From 16 February 2000 to 28 May 2004 the applicant was held in detention facility no. OD-1/T-2 of the Vladimir Region (учреждение ОД‑1/Т-2 УИН МЮ РФ по Владимирской области), known as “Vladimirskiy Tsentral”. He stayed in various cells in wings nos. 3 and 4, built in 1870 and 1846, respectively.
(a)  Number of inmates per cell 59.  According to a certificate issued on 22 April 2004 by the facility director, and which the Government have produced, the applicant was kept in eight cells described as follows: cell no. 4-14 (12.1 square metres, 6 bunks, average population 4 to 6 inmates), cell no. 4-13 (12.3 sq. m, 6 bunks, 5 to 7 inmates), cell no. 4-9 (23.4 sq. m, 13 bunks, 13 to 20 inmates), cells nos. 3-3, 3-53, 3-54, 3-51 and 3-52 (35 to 36 sq. m, 16 bunks, 12 to 18 inmates). 60.  The applicant did not dispute the cell measurements or the number of bunks. He disagreed, however, with the figure given by the Government for the number of inmates. According to him, between February and December 2000 he stayed in cell no. 4-9 that housed 18 to 35 inmates and between December 2000 and May 2004 he was kept in cells measuring approximately 36 sq. m, together with 20 to 40 other detainees. After the new Code of Criminal Procedure came into effect on 1 July 2002, the number of inmates in his cell dropped to between 15 and 25. Given the lack of beds, inmates slept in eight-hour shifts. They waited for their turn sitting on the concrete floor or on a stool if one was available.
In support of his statements the applicant produced written depositions by three former cellmates, Mr Abdurakhmon Kayumov, Mr Sergey Gunin and Mr Yan Kelerman. They stated, in particular, that in 2003-2004 cell no. 3-52 had housed 20 to 30 inmates (Mr Kayumov's deposition) or even 25 to 35 (Mr Gunin's deposition), as had cells nos. 3-51 and 3-53. They also testified that they and the other detainees had slept in turns.
(b)  Sanitary conditions and installations 61.  The Government, relying on a certificate of 8 April 2004 from the facility director, submitted that the “sanitary and anti-epidemic condition of the facility remained satisfactory, including... in the cells where [the applicant] had been held”. Another certificate of 20 April 2004 showed that “the cells... were equipped with [a lavatory pan] placed no more than 10 cm above the floor and separated by a partition of 1.5 m in height with additional curtains”. Running tap water was available and detainees were permitted to use immersion heaters. 62.  The applicant conceded that there had been no outbreaks of contagious diseases or epidemics. Apart from that, the sanitary conditions were wholly unsatisfactory. Prisoners infected with tuberculosis, hepatitis, scabies and the human immunodeficiency virus (HIV) were occasionally held in his cell. The cells were infested by lice, bed-bugs, flies, mosquitoes, cockroaches, rats and mice, but the facility administration did not provide any repellents or insecticides. Detainees were not given any toiletries, such as soap, toothbrush, toothpaste or toilet paper, apart from 100 grams of caustic soda once a week and two plastic bottles of bleach (1.5 litres each) every two or three months. Cells had no ventilation systems. In winter they were cold and in summer it was hot, stuffy and excessively damp inside. 63.  The applicant challenged the Government's description of the toilet facilities as factually untrue. The cast-iron pan was raised on a pedestal about 50-80 cm high and separated from the living area from one side with a one-metre-high partition. The person using the toilet was in full view of other inmates. No curtains were provided; occasionally the inmates hung a sheet but wardens tore it down and disciplined those responsible. What is more, the lavatory pan had no seat or cover: inmates stuck an empty plastic bottle in the hole in order to prevent smells from spreading. The dining table was fixed to the floor just a few metres from the pan. His description was corroborated by written depositions by former cellmates, Mr Kayumov, Mr Gunin, Mr Kelerman and Mr Sergey Kalenik, and four colour photos showing the lavatory pan and the dining table from various angles.
(c)  Food 64.  The Government asserted that “the applicant was fed in accordance with the established legal norms”. It appears from an undated certificate signed by the facility director that his daily diet consisted of 100 g of meat, 100 g of fish, 100 g of groats, 20 g of pasta, 20 g of salt, 1 g of tea [sic], 0.5 kg of potatoes, 0.25 kg of vegetables, 0.55 kg of bread. 65.  The applicant submitted that the food was of an extremely low quality. Many a meal only contained so-called balanda, a soup-like mix of millet, barley and pasta without any fat. Meat was replaced with a soya substitute. No fresh vegetables were given, occasionally the evening meal included cooked beetroot, sauerkraut or pickled cucumbers. Salt and tea were never distributed. Written depositions by four of the applicant's former cellmates confirmed these submissions.
(d)  Outdoor exercise 66.  The parties agreed that the applicant had been entitled to a daily walk of about one hour. The applicant indicated, however, that he was not able to go outdoors on days when there were court hearings. 67.  The Government did not describe the outdoor conditions. The applicant, and four former cellmates in written depositions, portrayed the following picture of the exercise yards: The yards were closed premises measuring 12, 26 or 40 sq. m. The opening to the sky was covered with a metal roof with a one-metre gap between the roof and the top of the walls. In summer it was extremely hot and stifling inside as the sun heated the roof. The walls were coated with so-called shuba, a sort of abrasive concrete lining, designed to prevent detainees from leaning on the walls. The entire cell population was brought to the yard at once; occasionally it was impossible to move around, let alone to exercise, because of the sheer number of prisoners.
(e)  Other issues 68.  According to the applicant, metal blinds that prevented natural light getting into the cells were only removed on 28 December 2002 after a delegation that included a representative of the Council of Europe had paid a visit to Vladimir detention facilities. The Government did not contest that information.
(f)  Contact with the outside world 69.  The applicant's relatives were not permitted to see him throughout the pre-trial investigation. After the trial began, he was allowed four short visits by his wife, children, sister and brother. At these meetings the applicant and his parents were prohibited from talking in any language other than Russian. The applicant was likewise prohibited from corresponding with his relatives other than in Russian: the facility administration refused to dispatch or hand over letters written in Tajik. 70.  The Government explained that these restrictions had been due to the lack of a staff interpreter from Tajik in the facility. 71.  The applicant was transported from the remand centre to the Vladimir Regional Court for hearings on 205 occasions; of these hearings, 185 concerned the charges against him and 20 applications for extensions of detention. The applicant offered the following description of these days, which was corroborated by written depositions from four former cellmates. 72.  On the day of the hearing he was woken up at 4 or 5 a.m. At about 8 a.m. he was taken from his cell to the so-called “assembly cell”, together with other detainees who had a hearing on that day. Each “assembly cell” measured 9.2 to 9.9 sq. m and housed 10 to 20 prisoners. “Assembly cells” had no ventilation system and the air was soon heavy with smoke. At about 9 or 9.30 a.m. the applicant was taken to a van. 73.  The prison van had one collective compartment designed for four prisoners and six individual compartments of one sq. m. It was designed to carry ten prisoners. However, it transported between 15 and 20 and on one occasion 27 detainees. The applicant was put in an individual compartment together with another prisoner. Owing to the lack of space, one of them would sit on the bench and the other on his lap. The route to the Vladimir Regional Court took one hour and the van called at other facilities on its way. 74.  The applicant did not normally arrive back at the prison until 6 or 8 p.m. During the day he received no food or outdoor exercise and was liable to miss out on the shower he was allowed periodically. 75.  The Government submitted that the applicant had been transported in special prison vans that met the standard requirements. The route from facility no. OD-1/T-2 to the Vladimir Regional Court was eight kilometres long and took thirty minutes.