(2)
Notwithstanding paragraph (1)—
(A)
an individual described in section 4(a)(2) of the Department of State Special Agents Retirement Act of 1998 who is otherwise eligible for immediate retirement under this subchapter; or
(B)
a Foreign Service criminal investigator/inspector of the Office of Inspector General of the Agency for International Development who would have been eligible for retirement pursuant to either section
8336
(c) or
8412
(d) of title
5, as applicable, had the employee remained in civil service,
shall be separated from the Service on the last day of the month in which such individual under subparagraph (A) or such Foreign Service criminal investigator/inspector under subparagraph (B) attains 57 years of age or completes 20 years of service if then over that age. If the head of the agency judges that the public interest so requires, that agency head may exempt such an employee from automatic separation under this subsection until that employee attains 60 years of age. The employing office shall notify the employee in writing of the date of separation at least 60 days before that date. Action to separate the employee is not effective without the consent of the employee, until the last day of the month in which the 60-day notice expires.