In conjunction with any ex parte order seeking or modifying an order of custody, the court shall enter an order restraining the person receiving custody from removing the child from the state pending notice and a hearing on the order seeking or modifying custody.
Ca. Fam. Code § 3063