I think this is the disconnect you're seeing. He was not in custody: he was appearing before a judge.