(2) Removal
(A) In general
The removal of an alien shall be to any country which the alien shall designate if such designation does not, in the judgment of the Attorney General, in consultation with the Secretary of State, impair the obligation of the United States under any treaty (including a treaty pertaining to extradition) or otherwise adversely affect the foreign policy of the United States.
(B) Alternate countries
If the alien refuses to designate a country to which the alien wishes to be removed or if the Attorney General, in consultation with the Secretary of State, determines that removal of the alien to the country so designated would impair a treaty obligation or adversely affect United States foreign policy, the Attorney General shall cause the alien to be removed to any country willing to receive such alien.
(C) Continued detention
If no country is willing to receive such an alien, the Attorney General may, notwithstanding any other provision of law, retain the alien in custody. The Attorney General, in coordination with the Secretary of State, shall make periodic efforts to reach agreement with other countries to accept such an alien and at least every 6 months shall provide to the attorney representing the alien at the removal hearing a written report on the Attorney Generals efforts. Any alien in custody pursuant to this subparagraph shall be released from custody solely at the discretion of the Attorney General and subject to such conditions as the Attorney General shall deem appropriate.
(D) Fingerprinting Before an alien is removed from the United States pursuant to this subsection, or pursuant to an order of removal because such alien is inadmissible under section
1182 (a)(3)(B) of this title, the alien shall be photographed and fingerprinted, and shall be advised of the provisions of section
1326 (b) of this title.