Section 3. Statements made by persons to the Judicial Officer.

Except in a prosecution for giving false evidence, and except as provided in the Indian Evidence Act, 1872, no statement made by a person in the course of giving evidence before the Judicial Officer referred to in section 2 shall subject such person to, or be used against such person in any civil or criminal proceedings: