It is a defense to a violation under this chapter that the child was emancipated:
(A) Under I.C. 31-37-19-27 or I.C. 31-6-4-15.7 (before its repeal);
(B) By virtue of having married; or
(C) In accordance with the laws of another state or jurisdiction.