J.D. Gordon, a former Pentagon spokesman who attended nearly all of his court appearances, told The New Yorker Mohammed had behaved bizarrely.

He said: ‘At times, it’s almost like theatre. He switches back and forth from very serious and devout to kind of a clown.

‘I think he does that deliberately to draw people in, to charm them in some way, or to influence them. It’s all calculated.’