Section 31 applies the Cr.P.C. only to proceedings before a Special Court, not to the investigation stage of an offence.
Gangadhar Narayan Nayak @ Gangadhar Hiregutti v. State of Karnataka & Ors.Supreme Court, 2 judges20222022 (12) SCC 72; 2022 (2) SCR 925para 39