565.160. It shall be an absolute defense to the crimes of parental kidnapping and child abduction that:
(1) The person had custody of the child pursuant to a valid court order granting legal custody or visitation rights which existed at the time of the alleged violation, except that this defense is not available to persons charged with child abduction under subdivision (5) of subsection 1 of section 565.156;
(2) The person had physical custody of the child pursuant to a court order granting legal custody or visitation rights and failed to return the child as a result of circumstances beyond his or her control, and the person notified or made a reasonable attempt to notify the other parent or legal custodian of the child of such circumstances within twenty-four hours after the visitation period had expired and returned the child as soon as possible; or
(3) The person was fleeing an incident or pattern of domestic violence.
(L. 1988 H.B. 1272, et al. § 4)