Section 180 IPC applies only when a public servant is legally competent to require a person to sign a statement; statements under Section 162 CrPC need not be signed, so refusal to sign them does not attract Section 180 IPC.
Supriya Jain v. State of Haryana and Anr.2023 (7) SCC 711; 2023 AIR(SC) 3287para 22