The necessity of a sanction under Section 197 is a threshold jurisdictional question that must be determined at the earliest opportunity in criminal proceedings. Courts are required to examine whether the statutory conditions barring cognizance exist at the time the complaint is processed for taking cognizance. If the statutory bar applies, the court lacks jurisdiction to proceed further against the public servant without the production of a valid sanction order. If no statutory provision requires sanction for the specific class of public servant at that moment, the court is fully competent to proceed with the trial. The jurisdictional competence of the court becomes fixed upon taking cognizance and cannot be disturbed by subsequent non-statutory events. Thus, judicial inquiry into the requirement of sanction is governed strictly by the officer's legal protection status at the time of cognizance. (Samarendra Nath Kundu & Anr. v. Sadhna Das & Anr. | 2026 INSC 304)