; or (ii) traveling with a spouse or child; and (B) ascertain whether repatriation of such apprehended individual presents any humanitarian concern or concern related to such apprehended individual’s physical safety; and (2) ensure that, with respect to a decision related to the repatriation or referral for prosecution of such apprehended individual, due consideration is given— (A) to the best interests of such apprehended individual’s child, if any; (B) to family unity whenever possible; (C) to other public interest factors, including humanitarian concerns and concerns related to such apprehended individual’s physical safety; and (D) to human rights obligations under domestic and international law, including protection of asylum seekers from prosecution. (c) Mandatory training The Secretary of Homeland Security, in consultation with the Secretary of Health and Human Services, the Attorney General, the Secretary of State, and independent immigration, child welfare, family law, and human rights law experts, shall— (1) develop and provide specialized training for all personnel of United States Customs and Border Protection and cooperating entities who come into contact with apprehended individuals in all legal authorities, policies, and procedures relevant to the preservation of a child’s best interest, family unity, and other public interest factors, including those described in this Act