The woman then had to ask a court to grant her and her husband custody of their biological daughter.