(b)shall, notwithstanding anything contained in any law for the time being in force, vacate the same on his ceasing to be a Police officer or whenever the State Government or any officer authorised by the State Government in this behalf thinks it necessary and expedient to require him to do so.