Kernrechtsfrage
Whether Art. 65 CP allowed ordering an institutional therapeutic measure shortly before the end of the prison term.
Extrahierter Entscheid
Yes. The measure may be ordered if the judge decides before or during execution of the sentence; the nearness of the release date is irrelevant.
Extrahierte Begründung
Art. 65 CP requires only that the court assess the conditions before or during execution. The first-instance court ruled while the sentence was still being served, so federal law was correctly applied.