Barack Obama actually said...
This provision would constrain the flexibility that the Executive Branch needs to be able to determine the appropriate disposition of detainees.
Context
Statement of Administration Policy: H.R. 2029 - Military Construction and Veterans Affairs
09/30/2015