Section 248 protection applies only if the accused holds the specified office at the time the court takes cognizance; it does not extend to a person who has ceased to hold office.
Baby Varkey And Anr v. State of KeralaKerala High Court, single judge20122012 Cassie (KER HC) 3198para 11