5/10-5.5. Unlawful visitation or parenting time interference
(a) As used in this Section, the terms “child”, “detain”, and “lawful custodian” have the meanings ascribed to them in Section 10-5 of this Code.
(b) Every person who, in violation of the visitation, parenting time, or custody time provisions of a court order relating to child custody, detains or conceals a child with the intent to deprive another person of his or her rights to visitation, parenting time, or custody time commits the offense of unlawful visitation or parenting time interference.
(c) A person committing unlawful visitation or parenting time interference is guilty of a petty offense. Any person violating this Section after 2 prior convictions of unlawful visitation interference or unlawful visitation or parenting time interference, however, is guilty of a Class A misdemeanor.
(d) Any law enforcement officer who has probable cause to believe that a person has committed or is committing an act in violation of this Section shall issue to that person a notice to appear.
(e) The notice shall:
(1) be in writing;
(2) state the name of the person and his or her address, if known;
(3) set forth the nature of the offense;
(4) be signed by the officer issuing the notice; and
(5) request the person to appear before a court at a certain time and place.
(f) Upon failure of the person to appear, a summons or warrant of arrest may be issued.
(g) It is an affirmative defense that:
(1) a person or lawful custodian committed the act to protect the child from imminent physical harm, provided that the defendant's belief that there was physical harm imminent was reasonable and that the defendant's conduct in withholding visitation rights, parenting time, or custody time was a reasonable response to the harm believed imminent;
(2) the act was committed with the mutual consent of all parties having a right to custody and visitation of the child or parenting time with the child; or
(3) the act was otherwise authorized by law.