Section 305(6) in The Code of Criminal Procedure, 1973
(6)If a question arises as to whether any person, appearing as the representative of a corporation in an inquiry or trial before a Court is or is not such representative, the question shall be determined by the Court.