He also got the permission from the regional administrative court, which had sought advice from the clinic, that he could visit a friend. But the friend was a three times convicted paedophile himself. None the less, it was seen as appropriate that the two could spend time together during the 44-year-old man's leave.
While he was in his room at the closed ward, he also managed to download large amounts of child pornography from the internet.
In september last year, the man was convicted of owning child-pornography and several cases of sexual assault.
The television programme is broadcast on Wednesday evening.