609.09 Compelling testimony; immunity from prosecution.
Subdivision 1. Conditions of immunity. In any criminal proceeding, including a grand jury proceeding, paternity proceeding, or proceeding in juvenile court, if it appears a person may be entitled to refuse to answer a question or produce evidence of any other kind on the ground that the person may be incriminated thereby, and if the prosecuting attorney, in writing, requests the chief judge of the district or a judge of the court in which the proceeding is pending to order that person to answer the question or produce the evidence, the judge, after notice to the witness and hearing, shall so order if the judge finds that to do so would not be contrary to the public interest and would not be likely to expose the witness to prosecution in another state or in the federal courts.
After complying, and if, but for this section, the witness would have been privileged to withhold the answer given or the evidence produced by the witness, no testimony or other information compelled under the order, or any information directly or indirectly derived from such testimony or other information may be used against the witness in any criminal case, but the witness may be prosecuted or subjected to penalty or forfeiture for any perjury, false swearing or contempt committed in answering, or in failing to answer, or in producing, or failing to produce, evidence in accordance with the order.
Subd. 2. Testimony required; no use of testimony for prosecution. In every case not provided for in subdivision 1 and in which it is provided by law that a witness shall not be excused from giving testimony tending to be self-incriminating, no person shall be excused from testifying or producing any papers or documents on the ground that doing so may tend to criminate the person or subject the person to a penalty or forfeiture; but no testimony or other information directly or indirectly derived from such testimony or other information may be used against the witness in any criminal case, except for perjury committed in such testimony.