9.  The applicant is a Portuguese national, born in 1940. He was a lawyer and is currently detained in the Santa Cruz do Bispo secure psychiatric unit in Matosinhos (Portugal).
10.  The applicant, who was suspected of fraud, was arrested on 1 March 1996 and placed in pre-trial detention.
11.  During the proceedings against him the applicant was examined by a psychiatrist. In his report of 22 July 1996 the psychiatrist concluded that the applicant was suffering from residual schizophrenia and should be given long-term psychiatric treatment.
12.  In a judgment of 11 November 1996 the Oporto Criminal Court held that, on account of his mentally disturbed state, the applicant was not criminally responsible (inimputável) and was dangerous. It accordingly ordered that he be detained for a maximum period of eight years.
13.  On 4 December 1996 the applicant was transferred to the Santa Cruz do Bispo secure psychiatric unit.
14.  In an order of 24 January 1997 a judge of the Oporto Criminal Court decided that, in accordance with the relevant legislation, the mandatory periodic review of the applicant's detention should take place on 1 March 1998.
15.  The applicant's file was transmitted to the Oporto Sentence-Supervision Court (Tribunal de Execução das Penas). On 19 February 1997 the judge of that court assigned a lawyer to represent the applicant, who had not chosen one himself. He also asked the staff of the Santo Cruz do Bispo secure unit to prepare an initial report on the applicant's condition.
16.  In a letter of 19 March 1997 Dr M.S.C. informed the judge that the applicant was “clinically balanced”. He added that his behavoiur “[was] adequate and he [could] be released on probation [liberdade para prova] if he agree[d] to accept psychiatric support outside and [took] his medication”.
17.  In an order of 7 April 1997 the judge decided to await the expiry of the time-limits provided for in Article 504 of the Code of Criminal Procedure.
18.  On 2 July 1997 the applicant personally lodged an application for release, relying on Dr M.S.C.'s favourable opinion. On 4 July 1997 the judge marked the file as “seen” (visto).
19.  On 7 January 1998 the judge asked the Institute for Social Rehabilitation, in accordance with the relevant legislation, to submit its opinion on the applicant's social situation and asked the Oporto Institute of Forensic Medicine (“the IFM”) to carry out a medical examination.
20.  The Institute for Social Rehabilitation submitted its report on 18 May 1998, concluding that the applicant's circumstances were such that he could be released on probation. A medical examination was carried out on 28 April 1998. The IFM filed a report also on 18 May 1998 concluding that the applicant remained a danger to society.
21.  On 2 June 1998 the applicant personally lodged a further application for release, relying on, inter alia, Article 5 § 4 of the Convention.
22.  On 1 July 1998 the applicant was examined by the judge. As the applicant's officially assigned lawyer was not present, the judge appointed an officer from the Santa Cruz do Bispo secure psychiatric unit as his defence counsel. The applicant stated, among other things, that he considered himself to have recovered and that the medicines which he was still taking were unnecessary.
23.  On 9 July 1998 the applicant personally lodged a further application for release. On 14 and 24 July 1998 he filed pleadings criticising the IFM's medical report.
24.  On 9 November 1998 the Prison Service asked the Sentence-Supervision Court for a copy of the latest decision relating to the periodic review of the applicant's detention. On 10 November 1998 the judge indicated that no decision had yet been taken.
25.  The applicant absconded during prison leave between 1 and 3 April 1999. He was captured on 11 November 1999 when the police authorities found him at his family home.
26.  In a decision of 20 January 2000 the Sentence-Supervision Court decided to keep the applicant in detention. The judge based his decision on the IFM's report of 18 May 1998 first, before stressing that it was clear that the applicant, who had absconded during prison leave, was not in a position to prove himself worthy of the trust that the prison system had placed in him. Lastly, the judge considered that, on account of the applicant's mentally disturbed state, the applications for release he had lodged personally did not have to be examined.
27.  The applicant personally appealed against that decision to the Oporto Court of Appeal (Tribunal da Relação). However, in an order of 4 February 2000 the judge of the Sentence-Supervision Court decided not to examine his appeal, noting that the applicant had been admitted to a secure psychiatric unit and was represented by officially assigned counsel, and that the President of the Criminal Division of the Supreme Court had delivered a decision on 5 January 2000 in habeas corpus proceedings to the effect that no other request for habeas corpus submitted by the applicant himself would be examined on account of his mentally disturbed state.
28.  On an unknown date the applicant personally appealed against that order to the Court of Appeal. However, the judge of the Sentence-Supervision Court made an order on 1 March 2000 stating that he would not examine the appeal and referring to the reasons stated in his order of 4 February 2000.
29.  On 8 November 2000 the applicant lodged, through Mr Pires de Lima, an application with the Oporto Court of Appeal challenging the judge of the Sentence-Supervision Court dealing with his case. In a judgment of 7 January 2001, the Oporto Court of Appeal granted his application, a new judge being appointed.
30.  On 29 January 2001 the public prosecutor requested the applicant's release since he presented no further danger. In a decision of 30 January 2001 the judge dismissed that request and decided to review the situation at the next periodic review (scheduled for 20 January 2002). The public prosecutor appealed against that decision to the Oporto Court of Appeal.
31.  In a judgment of 20 June 2001 the Court of Appeal dismissed the appeal.