“7. The protection given under Section 197 is to protect responsible public servants against the institution of possibly vexatious criminal proceedings for offences alleged to have been committed by them while they are acting or purporting to act as public servants. The policy of the legislature is to afford adequate protection to public servants to ensure that they are not prosecuted for anything done by them in the discharge of their official duties without reasonable cause, and if sanction is granted, to confer on the Government, if they choose to exercise it, complete control of the prosecution. This protection has certain limits and is available only when the alleged act done by the public servant is reasonably connected with the discharge of his official duty and is not merely a cloak for doing the objectionable act. If in doing his official duty, he acted in excess of his duty, but there is a reasonable connection between the act and the performance of the official duty, the excess will not be a sufficient ground to deprive the public servant from the protection. The question is not as to the nature of the offence such as whether the alleged offence contained an element necessarily dependent upon the offender being a public servant, but whether it was committed by a public servant acting or purporting to act as such in the discharge of his official capacity. Before Section 197 can be invoked, it must be shown that the official concerned was accused of an offence alleged to have been committed by him while acting or purporting to act in the discharge of his official duties. It is not the duty which requires examination so much as the act, because the official act can be performed both in the discharge of the official duty as well as in dereliction of it. The act must fall within the scope and range of the official duties of the public servant concerned. It is the quality of the act which is important and the protection of this section is available if the act falls within the scope and range of his official duty. There cannot be any universal rule to determine whether there is a reasonable connection between the act done and the official duty, nor is it possible to lay down any such rule. One safe and sure test in this regard would be to consider if the omission or neglect on the part of the public servant to commit the act complained of could have made him answerable for a charge of dereliction of his official duty, if the answer to his question is in the affirmative, it may be said that such act was committed by the public servant while acting in the discharge of his official duty and there was every connection with the act complained of and the official duty of the public servant. This aspect makes it clear that the concept of Section 197 does not get immediately attracted on institution of the complaint case.”