; or (ii) during official detention prior to the date that the prisoner’s sentence commences under section 3585(a). (C) Application of time credits toward prerelease custody or supervised release Time credits earned under this paragraph by prisoners who successfully participate in recidivism reduction programs or productive activities shall be applied toward time in prerelease custody or supervised release. The Director of the Bureau of Prisons shall transfer eligible prisoners, as determined under section 3624(g), into prerelease custody or supervised release. (D) Ineligible prisoners A prisoner is ineligible to receive time credits under this paragraph if the prisoner is serving a sentence for a conviction under any of the following provisions of law: (i) Section 81, relating to arson within special maritime and territorial jurisdiction. (ii) Section 111(b), relating to assaulting, resisting, or impeding certain officers or employees using a deadly or dangerous weapon or inflicting bodily injury. (iii) Paragraph (1), (7), or (8) of section 113(a), relating to assault with intent to commit murder, assault resulting in substantial bodily injury to a spouse or intimate partner, a dating partner, or an individual who has not attained the age of 16 years, or assault of a spouse, intimate partner, or dating partner by strangling, suffocating, or attempting to strangle or suffocate. (iv) Section 115, relating to influencing, impeding, or retaliating against a Federal official by injuring a family member, except for a threat made in violation of that section. (v) Section 116, relating to female genital mutilation. (vi) Section 117, relating to domestic assault by a habitual offender. (vii) Any section of chapter 10, relating to biological weapons. (viii) Any section of chapter 11B, relating to chemical weapons. (ix) Section 351, relating to Congressional, Cabinet, and Supreme Court assassination, kidnapping, and assault. (x) Section 521, relating to criminal street gangs. (xi) Section 751, relating to prisoners in