It seems to me that continued incarceration in a facility designed for corrections would constitute a form of punishment, not simply a protective detention. How can continue to be punished once his judically-imposed sentence has been served?
Federal law allows a district court to order the civil commitment of a mentally ill, sexually dangerous federal prisoner beyond the date he would otherwise be released.