(2) (A) For the purposes of this paragraph— (i) The term “certification” means a certification made by the Secretary that nationals of a foreign country, directly or indirectly, are conducting fishing operations or engaging in trade or taking which diminishes the effectiveness of the International Convention for the Regulation of Whaling. A certification under this section shall also be deemed a certification for the purposes of section 1978(a) of title 22 . (ii) The term “remedial period” means the 365-day period beginning on the date on which a certification is issued with respect to a foreign country. (B) If the Secretary issues a certification with respect to any foreign country, then each allocation under paragraph (1) that— (i) is in effect for that foreign country on the date of issuance; or (ii) is not in effect on such date but would, without regard to this paragraph, be made to the foreign country within the remedial period; shall be reduced by the Secretary of State, in consultation with the Secretary, by not less than 50 percent. (C) The following apply for purposes of administering subparagraph (B) with respect to any foreign country: (i) If on the date of certification, the foreign country has harvested a portion, but not all, of the quantity of fish specified under any allocation, the reduction under subparagraph (B) for that allocation shall be applied with respect to the quantity not harvested as of such date. (ii) If the Secretary notified the Secretary of State that it is not likely that the certification of the foreign country will be terminated under section 1978(d) of title 22 before the close of the period for which an allocation is applicable or before the close of the remedial period (whichever close first occurs) the Secretary of State, in consultation with the Secretary, shall reallocate any portion of any reduction made under subparagraph (B) among one or more foreign countries for which no certification is in effect. (iii) If the certification is terminated under such section 1978(d) of title 22 during the remedial period, the Secretary of State shall return to the foreign country that portion of any allocation reduced under subparagraph (B) that was not reallocated under clause (ii); unless the harvesting of the fish covered by the allocation is otherwise prohibited under this chapter. (iv) The Secretary may refund or credit, by reason of reduction of any allocation under this paragraph, any fee paid under section 1824 of this title . (D) If the certification of a foreign country is not terminated under section 1978(d) of title 22 before the close of the last day of the remedial period, the Secretary of State— (i) with respect to any allocation made to that country and in effect (as reduced under subparagraph (B)) on such last day, shall rescind, effective on and after the day after such last day, any unharvested portion of such allocation; and (ii) may not thereafter make any allocation to that country under paragraph (1) until the certification is terminated.