Minn. Stat. § 617.247
Subd. 1. Policy; purpose.
It is the policy of the legislature in enacting this section to protect minors from the physical and psychological damage caused by their being used in child sexual abuse material depicting sexual conduct which involves minors. It is therefore the intent of the legislature to penalize possession of child sexual abuse material depicting sexual conduct which involve minors or appears to involve minors in order to protect the identity of minors who are victimized by involvement in the child sexual abuse material, and to protect minors from future involvement in child sexual abuse material depicting sexual conduct.
Subd. 2. Definitions.
For purposes of this section, the following terms have the meanings given:
Subd. 3. Dissemination prohibited.
(b) A person who violates paragraph (a) is guilty of a felony and may be sentenced to imprisonment for not more than 15 years or to payment of a fine of not more than $20,000, or both, if:
Subd. 4. Possession prohibited.
(b) A person who violates paragraph (a) is guilty of a felony and may be sentenced to imprisonment for not more than ten years or to payment of a fine of not more than $10,000, or both, if:
Subd. 5. Exception.
This section does not apply to the performance of official duties by peace officers, court personnel, or attorneys, nor to licensed physicians, psychologists, or social workers or persons acting at the direction of a licensed physician, psychologist, or social worker in the course of a bona fide treatment or professional education program.
Subd. 6. Consent.
Consent to sexual performance by a minor or the minor's parent, guardian, or custodian is not a defense to a charge of violation of this section.
Subd. 7. Second offense.
If a person is convicted of a second or subsequent violation of this section within 15 years of the prior conviction, the court shall order a mental examination of the person. The examiner shall report to the court whether treatment of the person is necessary.
Subd. 8. Affirmative defense.
It shall be an affirmative defense to a charge of violating this section that the child sexual abuse material was produced using only persons who were 18 years or older.
[See Note.]
Subd. 9. Conditional release term.
Notwithstanding the statutory maximum sentence otherwise applicable to the offense or any provision of the sentencing guidelines, when a court commits a person to the custody of the commissioner of corrections for violating this section, the court shall provide that after the person has been released from prison, the commissioner shall place the person on conditional release for five years. If the person has previously been convicted of a violation of this section, section 609.342, 609.343, 609.344, 609.345, 609.3451, 609.3453, or 617.246, or any similar statute of the United States, this state, or any state, the commissioner shall place the person on conditional release for 15 years. The terms of conditional release are governed by section 609.3455, subdivision 8.