7.  The applicant was born in 1973 and lives in Głogów. He is detained in Wołów Prison.
8.  The facts of the case, as submitted by the applicant, may be summarised as follows.
9.  Throughout 2003 the applicant was serving a sentence of imprisonment in Wrocław Prison No. 1, following his conviction for attempted burglary by the Głogów District Court on 13 February 2001. He completed the sentence on 15 January 2004 and, on an unknown later date, was transferred to Wołów Prison.
10.  On 9 June 2003 the applicant asked the Governor of Wrocław Prison No. 1 for leave to have visits from a certain M.H. in prison. M.H. had been detained in the same prison from 10 July to 17 December 2002. At the relevant time, she was detained in another Wrocław Prison (at Kurkowa Street). The request was refused.
11.  On 16 June 2003 the applicant asked the Wrocław Regional Court – the Penitentiary Division (Sąd Okręgowy – Wydział Penitencjarny) for leave to marry M.H in prison.
On 20 June 2003 M.H. made a similar request to the Penitentiary Division of the same court, asking for leave for her and the applicant to marry in prison.
Their requests were referred to the Governor of Wrocław Prison No. 1.
12.  On 18 July 2003 the Governor refused both requests. The refusals were phrased in an identical way. The replies read, in so far as relevant, as follows:
“Replying to your request of 16 June 2003, which was referred to me by the Penitentiary Division of the Wrocław Regional Court, I hereby inform you that I refuse to give you leave to marry M.H. on the prison premises. The question of your having visits from M.H. was already decided negatively earlier (on 10 June 2003), in connection with your request of 9 June 2003. I now maintain that earlier standpoint taken by the Governor ... .
Analysing your family situation one can see that M.H. is not a member of your family or a “close person” (osoba bliska) within the meaning of Article 102 § 2 of the [Code of Execution of Criminal Sentences]. Neither you nor M.H. are able to substantiate your relationship in the period prior to her stay in [this prison] in connection with her pre-trial detention from 10 July 2002 to 17 December 2002.
In view of the foregoing, I refuse your request.”
13.  On 23 July 2003 the applicant unsuccessfully appealed to the Wrocław Regional Court against the refusal.
14.  The applicant also complained to, and sought assistance from, the Ombudsman (Rzecznik Praw Obywatelskich).
On 21 July 2003 the Ombudsman informed the Governor of Wrocław Prison of the applicant’s complaint and asked him to consider the possibility of granting him visits from his fiancée who was apparently his only close person, especially given their intention to get married and the fact that the applicant had volunteered for participation in a therapeutic rehabilitation programme based on deepening contact with close persons.
On 1 August 2003 the Governor informed the Ombudsman that the principal ground for refusal to grant the applicant visits from M.H. and leave to marry her in prison was the fact that they could not prove that they had had a relationship before her detention in the same prison which “made his attempts to obtain the leave ‘premature’.”
On 13 August 2003 the Ombudsman wrote back to the Governor, stating that he had reservations about the grounds for the refusal of leave to marry and asking him to conduct an enquiry into the applicant’s allegations and to reconsider the possibility of granting him visits from M.H.
15.  On 9 September 2003 the prison authorities prepared a report on the enquiry which was later transmitted to the Ombudsman. The report read, in so far as relevant, read as follows
“Undoubtedly, [the applicant] became illegally acquainted with M.H. during her detention on remand in this establishment (from 10 July to 17 December 2002). In his complaint, [the applicant] states that ‘I [had] got to know a girl who stayed in this remand centre more than a year ago’. It is difficult to call “fiancées” persons who get to know each other in this manner (kites, writing on their hands – often without seeing each other).
This contact, which was made in prison (certainly illegally) and which by the nature of things is very superficial, is not a worthy contact from the point of view of the applicant’s rehabilitation. For that reason, the applicant’s requests [for leave to marry M.H. in prison] had received negative opinions from his supervising officer [wychowawca].”
16.  On 25 September 2003 the Ombudsman replied to the applicant’s complaint. The letter reads, in so far as relevant, as follows:
“I would like to inform you that, as unequivocally emerges from the findings relating to your wish to get married to M.H. in prison, your relationship with Ms M[...] H [...] developed in an illegal manner during her detention on remand in the prison in which you remain. It was precisely your illegal relationship maintained by means of, among other things, sending kites (za pomocą grypsów) in prison which, in the opinion of the prison administration, was decisive [for considering] your union unworthy from the point of view of your social rehabilitation.
At the same time, I would like to add that, as emerges from the information I have received, this matter is at present being examined by the Wrocław Regional Court, from which you should get a reply.
In view of the foregoing, acting upon the Ombudsman’s authorisation, I consider the matter as clarified in its entirety and I do not see any indication of your rights having been infringed by the [prison] administration.”
17.  Meanwhile, on 24 September 2003 the applicant had complained to the Minister of Justice about the refusal to give him leave to contract a marriage in prison. The complaint was referred to the Wrocław Regional Director of the Prison Service (Dyrektor Okręgowy Służby Więziennej) who, on 17 October 2003, addressed the matter as follows:
“In reply to your complaint of 24/09/2003 addressed to the Ministry of Justice and concerning the decision of the Governor of Wrocław Prison No. 1 refusing to grant you leave to contract a marriage on the prison premises, I would like to inform you that, according to the rules on competence [in such matters], your complaints have been examined by the Wrocław Regional Inspectorate of the Prison Service (Okręgowy Inspektorat Służby Więziennej).
Following an enquiry it has been ascertained that, indeed, the administration of Wrocław Prison No. 1 did not give you leave to contract a marriage on the premises of the penitentiary establishment. You were notified of the reasons for it by, inter alia, the letter of 18 July 2003 ....
At the same time, I inform you that this decision did not infringe the applicable legal provisions. No provision obliges a governor of a penitentiary establishment to grant a detained person leave to contract a marriage in the establishment run by him.
In view of the foregoing, I do not see any grounds for upholding your complaint.”
18.  On 2 October 2003 the Wrocław Regional Court-Penitentiary Divisions examined the applicant’s appeal of 23 July 2003 but did not take any decision on the matter.
19.  On an unspecified date in November 2003 the Deputy Governor of the Wrocław Prison issued a certificate addressed to the Wrocław Civil Status Office (Urząd Stanu Cywilnego) confirming that the applicant had obtained leave to marry M.H. in prison.
20.  The Government submitted that, according to information supplied by the Wrocław Prison’s authorities, the applicant did not marry M.H. in prison.