The revelation is detailed in a recently unsealed 145-page detention hearing transcript.