(a) A court of this State shall treat a foreign country as if it were a state of the United States for the purpose of applying this subtitle and Subtitle 2 of this title.
(b) Except as otherwise provided in subsection (c) of this section, a child custody determination made in a foreign country under factual circumstances in substantial conformity with the jurisdictional standards of this title must be recognized and enforced under Subtitle 3 of this title.
(c) A court of this State need not apply this title if the child custody law of a foreign country violates fundamental principles of human rights.