Check the legal basis.
Section 126 StVG concerns prisoners serving determinate prison sentences. The relaxed regime requires suitable facilities and the expectation that relaxations will not be abused. The law lists open rooms or gates during the day, work with reduced supervision, training, outpatient treatment, leave and work release.