; and (ii) the person’s release creates a high risk of intentional non-appearance in court, or a specific and substantial risk that the person will cause bodily injury or use violent force against the person of another, and that no conditions of release could reasonably mitigate that risk. (B) If the judicial officer determines that the attorney for the Government has satisfied the requirement under subparagraph (A), such judicial officer shall order the detention of the person, for a period of not more than five days, excluding Saturdays, Sundays, and holidays, and direct the attorney for the Government to notify the appropriate court, probation or parole official, or State or local law enforcement official, or the appropriate official of the Department of Homeland Security, consistent with the following: (i) If the appropriate court, probation, or parole official fails or declines to take the person into custody during the five-day period of temporary detention, the person shall be treated in accordance with the other provisions of this section. (ii) If temporary detention is sought under subclause (II) of subparagraph (A)(i), the person shall be afforded the opportunity to enter evidence rebutting any determination under such subclause. (iii) If the person rebuts the nationality determination, temporary detention under this paragraph is not permitted. (iv) If the person fails to rebut the nationality determination, the judicial officer shall order the temporary detention of the person under this paragraph. If the Department of Homeland Security fails or declines to take such person into custody during the five-day period of temporary detention, the person shall be treated in accordance with other provisions of this section and shall not be subject to detention under the Immigration and Nationality Act (except section 236A of such Act, 8 U.S.C. 1226A ) during the pendency of the case. (5) Production of pretrial services report No later than the initial appearance hearing, United States Probation and Pretrial