7.  The applicant is a lawyer and a former officer of the Federal Security Service of the Russian Federation (FSB). At the time of the events giving rise to the application, he was the subject of an unrelated criminal investigation conducted by the Chief Military Prosecutor concerning the period of his service in the FSB (criminal case no. 1). From March 2003 the applicant was under an obligation not to leave his permanent place of residence without the permission of the prosecution or the court. 8.  On 22 October 2003 in the evening the applicant was returning from a meeting with the officials of the police department of the town of Dmitrov, in the Moscow Region, where he was assisting his client as a lawyer. The applicant's car was stopped by the traffic police on a road. The police searched his car, nothing suspicious being discovered there. A few minutes later the policemen repeated the search, now in the presence of two attesting witnesses. This time a handgun with ammunition was discovered on the back seat of the applicant's car. The applicant was questioned about this gun; he asserted that it did not belong to him. He also informed the policemen that he was a lawyer and showed his lawyer's identity card. At about 7 p.m. the police opened a criminal investigation into these facts (criminal case no. 2). The applicant was placed in Dmitrov detention centre. 9.  In the morning of 24 October 2003, at the investigator's request, the Dmitrov Town Court ordered the applicant's pre-trial detention on the grounds that he was suspected of committing a criminal offence punishable under Article 222 of the Criminal Code (unlawful possession of firearms and ammunition) by up to six years' imprisonment and that there was a risk that he might abscond, interfere with the course of justice or continue his criminal activities. The court also stated that at the time of his arrest the applicant was already the subject of another criminal investigation in the context of criminal case no. 1. 10.  The applicant appealed, stating, inter alia, that the Town Court, in finding the detention to be lawful, had failed to give any reasons for its finding. The applicant further alleged that the gun had been planted by the police and maintained that he would never keep a loaded gun in a car which he used to drive his children to school every morning. He also noted that he had five under-age children and that there was therefore no reason to believe that he would go into hiding. He further submitted that he represented clients in forty pending cases and that his arrest would be prejudicial to their interests. Finally, the applicant pointed out that the special procedure for authorising the detention of lawyers had not been followed in his case. He asked the Regional Court to examine his appeal in his presence. 11.  On 27 October 2003 the Dmitrov Town Court, after a preliminary examination of the facts of the case, authorised the opening of criminal proceedings against the applicant in connection with the discovery of the gun in his car on 22 October 2003. On the same day the applicant's lawyer lodged an appeal against the detention order of 24 October 2003. In the grounds of appeal he stated, inter alia, that the applicant, as a lawyer, could not have been arrested and then placed in custody without a preliminary court decision authorising his criminal prosecution. 12.  On 31 October 2003 the applicant was formally charged under Article 222 § 1 of the Criminal Code. On the same day the Moscow Regional Court examined the appeal against the detention order. Before the court the applicant was represented by one of his lawyers, Mr M. With reference to Articles 447‑50 of the Code of Criminal Procedure, the Regional Court quashed the detention order of 24 October 2003. The appeal court stated that the applicant, as a lawyer, could have been placed in detention on remand only after a separate court decision initiating criminal proceedings against him or authorising investigative measures in respect of him. In the present case there had been no such decision when the court had ordered his detention. The appeal court ordered the applicant's release and remitted the case to the first-instance court. However, the applicant remained in prison. He submitted that he had received a copy of this decision only on 11 November 2003. 13.  On 4 November 2003 the applicant was transferred to the Volokolamsk detention centre. On the same day the Dmitrov town prosecutor applied to the Dmitrov Town Court, seeking an order for the applicant's detention on remand. 14.  On 5 November 2003 the Dmitrov Town Court ordered the applicant's continued detention on the ground that he had been charged with a crime of medium severity and might abscond or interfere with the course of justice if released. The hearing took place in the presence of the applicant and two of his lawyers, Mr G. and Mr M. On the same day he was transferred back to the detention centre in Dmitrov. 15.  The applicant appealed, repeating the arguments used during his first appeal and adding that, once refused, detention on remand could not be ordered for a second time on the same grounds. The applicant also submitted that neither he nor one of his lawyers, Ms L., had been notified about the hearing and that they had been unable to present their arguments. He also indicated that the Moscow Regional Court's decision of 31 October 2003 ordering his release had still not been executed. 16.  On 13 November 2003 the Moscow Regional Court, in the presence of the applicant's lawyers, upheld the first-instance court's decision of 5 November 2003 and sanctioned the applicant's continued detention on remand pending pre-trial investigation. 17.  At the end of November the bill of indictment in criminal case no. 1, together with the case file, was forwarded to the Moscow Circuit Military Court. On 1 December 2003 the applicant was transferred to a detention centre in Moscow. On the same day the Moscow Circuit Military Court ordered the applicant's pre-trial detention in the context of criminal case no. 1. 18.  On 19 December 2003 the Dmitrov Town Court dismissed a request by the investigator for prolongation of the applicant's detention on remand in the context of criminal case no. 2. However, the applicant remained in custody pursuant to the detention order made by the Moscow Circuit Military Court on 1 December 2003. 19.  On 14 January 2004 the defence complained to the Dmitrov Town Court about the period between 31 October and 5 November 2003, when the applicant had been detained without any valid grounds. It is unclear whether this complaint has ever been examined by the court and what the outcome of the examination was, if there was one. 20.  On 19 May 2004 the Moscow Circuit Military Court gave judgment in criminal case no. 1. The applicant was found guilty and the court sentenced him to four years' imprisonment in an open colony (колония‑поселение). On 9 September 2004 the Military Division of the Supreme Court of the Russian Federation upheld the judgment. 21.  As regards criminal case no. 2, on 15 April 2005 the Dmitrov Town Court found the applicant guilty of unlawful possession of firearms, found in his car on 22 October 2003. The Town Court rejected the applicant's contention that the gun had been planted by the policemen. 22.  The applicant appealed. On 1 July 2005 the Moscow Regional Court acquitted him. The Regional Court found that the fact that the bag with the gun had been found in the applicant's car did not necessarily mean that the gun had been put there by him. No fingerprints belonging to the applicant or traces of his sweat had been found on the bag or the gun. There was no evidence that the applicant had been in possession of the gun before his arrest or that he had put it in his car. Moreover, the policemen who had arrested the applicant had insisted that the bag had fallen from the back pocket of the driver's seat. However, a reconstruction of the offence showed that in the circumstances that had been physically impossible. 23.  The Regional Court further noted that the Town Court had not accepted either the applicant's version or the account given by the prosecution. In its judgment it had put forward its own version as to how the gun had happened to be in the applicant's car. In particular, the Town Court had found that before leaving the car the applicant had hidden the gun under his cloak, and that during the search the gun had fallen on the floor of the car. However, that version was not supported by evidence, and, moreover, the court had exceeded its powers by extending the factual scope of the indictment. As a result, the applicant was found not guilty. 24.  On an unspecified date the applicant brought proceedings claiming one million Russian roubles (RUR) for non-pecuniary damage on account of his unlawful detention between 22 October and 5 November 2003. On 26 September 2005 the Dmitrov Town Court found that the whole period of the applicant's detention on remand, until his acquittal, had been unlawful. As a result, the applicant was awarded RUR 75,000, to be recovered from the Federal Treasury. 25.  That judgment was appealed against by the prosecution and by the applicant. On 24 November 2005 the Moscow Regional Court quashed the judgment of 26 September 2005. The Regional Court found that the judgment of the District Court had covered the whole period of the applicant's detention in the context of criminal case no. 2, whereas his civil claim had only concerned the period of his detention between 22 October and 5 November 2003. Furthermore, the Regional Court indicated that from 1 December 2003 the applicant had been in custody in connection with another criminal case (no. 1), which had ended with his conviction. Lastly, the Regional Court indicated that the District Court had failed to summon the representatives of the Federal Treasury. As a result, the case was referred to the Town Court for fresh consideration. 26.  In the proceedings before the Town Court the applicant confirmed that his claim only concerned the period between 22 October and 5 November 2003. On 10 May 2006 the Town Court ruled in favour of the applicant. The Town Court found that the applicant's detention had been unlawful, awarding him RUR 30,000 in compensation for the non-pecuniary damage sustained. The applicant appealed, claiming that the award was too small. On 4 October 2006 the Moscow Regional Court upheld the judgment of 10 May, stating as follows:
“... [The first-instance court correctly found that] from 22 October to 5 November 2003 the applicant was detained on remand unlawfully, since, by virtue of the decision of the Moscow Regional Court of 1 July 2005, the judgment of the Dmitrov Town Court [in respect of the applicant] ... was quashed, and the case was closed because the applicant had not been involved in the [alleged] crime.
... [The applicant] was fully rehabilitated in respect of the events which had served as a basis for his detention between 22 October and 5 November 2003...”
The Regional Court concluded that the amount awarded by the Town Court was reasonable. 27.  After his arrest on 22 October 2003 the applicant was placed in the detention centre in Dmitrov (изолятор временного содержания УВД г. Дмитров), about 70 km north of Moscow. On three occasions in the following five weeks the applicant was transferred to detention centre ИЗ 50/2, situated in Volokolamsk, about 130 kilometres west of Moscow, and then back to the detention centre in Dmitrov. According to the information provided by the Government, the applicant was kept in custody in the detention centre in Dmitrov from 22 October to 4 November 2003, then from 5 to 10 November, and from 14 to 21 November 2003. The Government further asserted that the applicant had been kept in custody in the detention centre in Volokolamsk from 4 to 5 November, from 10 to 14 November and from 21 to 28 November 2003. The Government did not indicate where the applicant had been detained between 28 November and 1 December 2003, when he had been transferred to detention centre ИЗ 77/1 in Moscow. According to the applicant, during these three days he was in the detention centre in Volokolamsk. 28.  The parties submitted differing accounts of the conditions of detention in the detention centres of Dmitrov and Volokolamsk. 29.  In his initial submissions to the Court the applicant described conditions in the detention centre of Dmitrov as follows:
“The cell had a dirty wooden floor with puddles of mud ..., insects were everywhere, it was terribly chilly. I was not given a mattress or a chair or even a piece of paper. I had to rest on the wooden floor which was covered in faeces and the blood of crushed bugs. ... Because of the cold I had to remain standing for two days. I could not sleep. Then I cleaned up a place in a corner of the cell with my clothes and took a nap. 30 minutes later I woke up because bugs, lice and some other beasts were crawling over me. ... Since my arrest I have not been able to go for a walk outside the cell. The window is constantly shut and I've lost all sensation of time. Only once have I been brought before an investigator for questioning. ... There is no washbasin in the cell and I have to wash myself using the lavatory. ... My eyesight has become impaired because of the dull light in the cell.” 30.  The applicant complained to the prosecutor in similar terms about the conditions of his detention. As a result, he was given a pail of water, washing liquid and a rag to wash the floor.
(a)  The Government's submissions 31.  According to the information, provided by the Government, cell no. 7, where the applicant was detained, measures 6.6 square metres. It is equipped with a lavatory, a tap and a sink. The premises of the detention centre are centrally heated. The cell receives daylight during the day and is lit by an electric lamp at night. Upon his arrival at the detention centre the applicant was given bedclothes; however, he refused to use them “as a sign of his disagreement with his arrest”. In the evening of 23 October 2003 his relatives sent him the necessary bedclothes. 32.  On 2 December 2003 the Dmitrov town detention centre was examined by a joint commission of the regional Department of the Interior and the Department of Sanitary Control. The inspection concluded that “the sanitary state of the cells is satisfactory, wet cleaning with disinfectants takes place every day; the ventilation is operational”. The commission also noted that the applicant had not been taken outside for a walk because the yard in the detention centre was under construction.
(b)  The applicant's submissions 33.  In his submissions in reply to those of the Government the applicant insisted that cell no. 7, where he was detained, was smaller than the Government indicated and, moreover, was not equipped with a washbasin. The water from the tap was evacuated through a lavatory drain (труба слива для унитаза), so, to wash himself, the applicant had had to lean over a stinking toilet pan. The toilet was located very close to the applicant's sleeping place, and there was no partition between them. The cell had no radiators or other heating devices; instead, a pipe with warm water passed along the wall. In the applicant's words, the pipe provided only enough heat to warm his hands on it. 34.  The applicant further indicated that there had been only one small grilled window in the cell, and there had been no glass in it. In order to keep some warmth within the cell, the grill covering the window was papered over. The applicant did not dare to take the paper off because it was too cold outside. Consequently, there was no natural light in the cell; during the whole period of his detention in Dmitrov the applicant had to read and write by the dull light of an electric lamp. As a result, the applicant's eyesight deteriorated. 35.  On 7 November 2003 the applicant complained to the investigator about the absence of any natural light in his cell. The applicant asked to be examined by an ophthalmologist, but his request was refused. Instead, the head of the detention centre recommended that the applicant take “blackberry pills”, which could be procured by his relatives. The applicant indicated that in May 2004 he had undergone an examination by a doctor in detention centre ИЗ 77/1, which revealed the impairment of his eyesight by 0.5 dioptres. 36.  On 10 November 2003 the applicant wrote a new complaint to the investigator. He asserted that over the 19 days of his detention he had not been taken out of his cell for outdoor exercise. As a result, his asthma had deteriorated, and he had to use his inhalation spray six times a day, whereas in principle it should not be used more than twice a day. 37.  As regards living essentials, the applicant insisted that the detention centre was not equipped with any bedclothes, mattresses or pillows. The Government's assertion that the applicant had refused to take the bedclothes “as a sign of his disagreement with his arrest” he qualified as a blatant lie. In the applicant's words, if a detainee refused to take any objects for personal use provided by the detention centre, that fact was always recorded in a special register. He insisted that after his arrest he had not been provided with any bedding at all. Moreover, on 23 October 2003 the police investigator Mr Z. had confiscated all his clothes; the applicant had been left in the unheated cell in his underwear. Only in the evening of 23 October 2003 had the applicant's wife managed to provide him, through the head of the detention centre, Mr Y., with a pillow, two blankets and a jogging suit. 38.  The applicant maintained his initial submissions that cell no. 7 had been full of parasites. The inspection of that cell, referred to by the Government, had taken place on 2 December 2003, more than a month after the applicant had been placed there, and ten days after he left that detention centre. Consequently, that inspection could not have revealed the real situation existing at the moment of the applicant's detention. In support of his assertions the applicant referred to an article published in the daily newspaper Kommersant shortly after his arrest. In that article the applicant's lawyer, Mr G., testified that in the morning of 22 October 2003 he had visited his client (the applicant) in the detention centre in Dmitrov. Mr G. had said to a journalist: “That night [the applicant] got lice and some other insects, they were crawling over him while we were talking. The cell where he is detained is so dirty that he cannot even sit there.” 39.  In his initial submissions to the Court the applicant described the conditions of his detention in Volokolamsk as follows:
“In a cell measuring 18 square metres I'm detained with 20 other people, including one mentally ill person (schizophrenic). There is not enough space for sleeping and two people have to sleep on the same bed. There are bugs, lice and cockroaches in the cell. The facility for walking is very small. 20 people can scarcely fit in it, and it is impossible to breathe normally even during the walk because others are constantly smoking. I have bronchial asthma of medium severity and it has lately worsened. I have very severe chest pains. I sent a request for a medical examination to the investigator Sh., but he did not reply. The investigator also rejected my request for an eye test. Because of the shortage of spoons and mugs we have to use them in turns. I still cannot obtain from the administration a spoon, a mug, and a bowl for my own use, or a bed sheet, a pillowcase or a blanket.” 40.  On 1 December 2003 the applicant wrote a letter to the Ministry of Justice describing the conditions in the detention centres in Dmitrov and Volokolamsk. He repeated his complaints about the overcrowding in the cell and the lack of living essentials available to the detainees. In his submission, on certain days the number of detainees amounted to 25 people, and they had to take turns to sleep. The detainees slept on four metal shelves stacked on top of each other, which were very short and uncomfortable. The mattress he was provided with looked like a filthy rag with stains of urine. The padding inside the mattress became so matted that it felt like sleeping on a pile of stones. Although the cell was full of lice, the administration did not provide the detainees with insecticides and prohibited their use in the cell. He was afraid of being infected with an insect-borne disease. 41.  He also complained that on several occasions in the course of being transported to another detention centre or the court he had been placed in a very small room (70 x 120 cm) without light, water or food. He had been kept in this room for up to eight hours, without being able to stretch his legs while sitting. This room was not equipped with a lavatory, and, owing to the understaffing of the detention centre, the applicant had to wait two hours to be taken to the toilets.
(a)  The Government's submissions 42.  According to the information provided by the Government, upon his arrival at detention centre ИЗ 50/2 the applicant was examined by a doctor. The Government produced a medical certificate, issued by the prison administration, which stated that “following a visual examination, no signs of bronchial asthma were detected”. According to this certificate, the applicant had no asthma attacks during his detention and his eyesight did not deteriorate. 43.  In the detention centre in Volokolamsk the applicant had been placed in cell no. 101, measuring 20 square metres, and allocated for former officials of State law-enforcement agencies. This cell was equipped with a lavatory, a shelf for storing foodstuffs, and a sink with hot and cold running water. During the applicant's detention the number of his cellmates varied from 14 to 20. On 20 October 2003 the administration of detention centre ИЗ 50/2 carried out an inspection of this cell. The administration concluded: “The sanitary condition of the cell is in accordance with established standards, the plumbing and water supply are operational, no synanthropic arthropods were detected.” 44.  The Government further indicated that the applicant had been provided with all living essentials. In support of this assertion, the Government produced a special register in which the administration of the detention centre recorded objects given to detainees. According to this register, on 5 November 2003 (the day he was first transferred to the detention centre in Volokolamsk) the applicant had received a mattress, a pillow, a blanket, a pillowcase, two bed sheets, a bowl, a spoon and a mug. On 10 November 2003, when the applicant was transferred to the detention centre in Volokolamsk again, he had received the same objects. He had returned them to the administration on 14 November 2003.
(b)  The applicant's submissions 45.  The applicant produced medical certificate no. 1259, issued on 2 June 2000 by the Central Military Medical Commission. According to this document, the applicant had suffered from bronchial asthma of medium severity and had normal visual acuity. According to the applicant, upon his arrival at the detention centre in Volokolamsk he had been questioned by a doctor about his medical history. The applicant had complained of asthma attacks and the impairment of his eyesight; in reply the doctor had said that he had no appropriate medication for treating asthma and that the applicant's relatives should procure it themselves. He stated that the only examination he had undergone was a fluorography, and in those circumstances it was little wonder that the doctor had detected no signs of bronchial asthma. 46.  In the following days the applicant repeated his request to be examined by an ophthalmologist, but received no reply. The applicant broke his tooth, because in the detention centre he was given only stale rye bread; he sought to see a dentist but to no avail. Moreover, the administration refused to allow the applicant to be examined by a doctor invited by the NGO “For Human Rights”. 47.  As regards conditions in cell no. 101, where he had been detained, the applicant challenged the account given by the Government. In his submissions, the cell measured about 16 to 18 square metres and contained up to 25 people, and never fewer than 22. The applicant named his cellmates who could confirm this fact. The cell had no shelves: instead, four sleeping berths were used for storage of food and personal belongings of the detainees, their clothes, shoes and so on. Hot water was available only occasionally, and for very short periods of time, so the detainees had time only to wash crockery, underwear and bedclothes. There was no place to dry the linen, so the applicant had to sleep on wet bed sheets. The “lavatory” mentioned by the Government was in fact a hole in the floor of the cell, which was not separated from the living space, so the odour of faeces was very disturbing. After having used the toilet the inmates had to burn a piece of paper so the smoke attenuated the putrescent scent of faeces, but, at the same time, this caused the applicant severe headaches. The distance between the table at which the detainees ate and the “lavatory” was no more than 1.5 metres, and the washbasin was located just above it. The applicant admitted that on 20 October 2003 the cell had been disinfected; however, on 4 November 2003, when he had been placed there, it had been full of lice and fleas again. Apparently the parasites in the mattresses and bedclothes had escaped disinfection. During his detention in Volokolamsk, the cell had not been cleaned a single time. 48.  Upon his arrival at the detention centre in Volokolamsk, the applicant had received a mattress and a bed sheet. In his submission, the mattresses given to the newly arrived inmates were not cleaned, even if their previous owners had suffered from tuberculosis or other contagious diseases. The applicant was not provided with a bowl, a mug or a spoon; the administration had promised him to give the crockery as soon as it was available. He insisted that his signatures in the register produced by the Government were forged and that he had never received any crockery from the administration. Moreover, the register contained no information about the third period of the applicant's detention in Volokolamsk, namely between 21 November and 1 December 2003, so there was no proof that the applicant had been provided with any living essentials at all during this period. 49.  As regards the conditions and timing of his transfer to that detention centre, the applicant insisted that its administration had distorted the facts. Thus, according to the prison administration, on 10 October 2003 he had arrived at the detention centre in Volokolamsk at about 2 p.m. In fact he had arrived there at about 9 a.m. and spent 8 hours in a humid room made of concrete, without food or light. The same had occurred on 21 November 2003.
(c)  Written statements by Mr Potapov 50.  The applicant produced written statements by a number of his cellmates concerning the conditions of detention at the detention centre in Volokolamsk in 2003 and 2004. Thus, Mr Potapov was detained in cell no. 101 in November 2003. Mr Potapov confirmed that the cell had been heavily overcrowded: sometimes up to 25 inmates were detained there. The cell-mates had to take turns to sleep and there was not even enough space to for all of them to sit down. Furthermore, the cell had been full of insects (ticks, lice and cockroaches). Medical aid had been denied to the detainees. 51.  The Government disputed those allegations. According to the Government, cell no. 101 complied with sanitary, epidemiological and hygiene standards. Each detainee had an individual sleeping berth, the plumbing and water supply systems were operational, and no vermin had been detected. The Government produced a written statement by Mr Potapov of 23 December 2003, addressed to the chief officer of the detention centre. In that statement Mr Potapov asserted that “[the applicant] had his individual sleeping berth, ... he often complained about the regime of detention, reacted extremely negatively to the requirements of the administration [of the detention centre], and always had conflicts with the officers of the special department”.