Section 205(2) in The Code of Criminal Procedure, 1973
(2)But the Magistrate inquiring into or trying the case, may, in his discretion, at any stage of the proceedings, direct the personal attendance of the accused, and, if necessary, enforce such attendance in the manner hereinbefore provided.