Subject to such conditions or restrictions that may be prescribed, any officer appointed under this Code may enter at any such public servants as he considers necessary, for carrying out any of his duties under this Code, or any other law for the time being in force.time upon any land with
--