(a) General rule.— Unless the court issues a temporary emergency order pursuant to section 5424 (relating to temporary emergency jurisdiction), upon a finding that a petitioner is entitled to immediate physical custody of the child, the court shall order that the petitioner may take immediate physical custody of the child unless the respondent establishes that:
(1) the child custody determination has not been registered and confirmed under section 5445 (relating to registration of child custody determination) and that:
- (i) the issuing court did not have jurisdiction under Subchapter B (relating to jurisdiction);
- (ii) the child custody determination for which enforcement is sought has been vacated, stayed or modified by a court of a state having jurisdiction to do so under Subchapter B; or
- (iii) the respondent was entitled to notice, but notice was not given in accordance with the standards of section 5408 (relating to notice to persons outside Commonwealth), in the proceedings before the court that issued the order for which enforcement is sought; or
- (2) the child custody determination for which enforcement is sought was registered and confirmed under section 5445 but has been vacated, stayed or modified by a court of a state having jurisdiction to do so under Subchapter B.