Section 35(2) in The Code of Criminal Procedure, 1973
(2)When there is any doubt as to who is the successor-in-office of any Additional or Assistant Sessions Judge, the Sessions Judge shall determine by order in writing the Judge who shall, for the purposes of this Code or of any proceedings or order thereunder, be deemed to be the successor-in-office of such Additional or Assistant Sessions Judge.