Whenever any person holding an office in the service of Government who has been invested by the High Court or the State Government with any powers under this Code throughout any local area is appointed to an equal or higher office of the nature, within a like local area under the same State Government, he shall, unless the High court or the State Government, as the case may be, otherwise directs, or has otherwise directed, exercise the same powers in the local area in which he is so appointed.