The term "ex parte" means that the request is made without the other party being present. An emergency ex parte custody request may be granted by a court if there is evidence that the child is in immediate danger or at risk of harm if left in the care of the other parent or guardian.