; 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 113(a)(1), relating to assault with intent to commit murder. (ii) 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. (iii) Any section of chapter 10, relating to biological weapons. (iv) Any section of chapter 11B, relating to chemical weapons. (v) Section 351, relating to Congressional, Cabinet, and Supreme Court assassination, kidnapping, and assault. (vi) Section 793, relating to gathering, transmitting, or losing defense information. (vii) Section 794, relating to gathering or delivering defense information to aid a foreign government. (viii) Any section of chapter 39, relating to explosives and other dangerous articles, except for section 836 (relating to the transportation of fireworks into a State prohibiting sale or use). (ix) Section 842(p), relating to distribution of information relating to explosives, destructive devices, and weapons of mass destruction, but only if the conviction involved a weapon of mass destruction (as defined in section 2332a(c)). (x) Subsection (f)(3), (h), or (i) of section 844, relating to the use of fire or an explosive. (xi) Clause (ii) or (iii) of section 924(c)(1)(A), relating to brandishing