; and (ii) whether detention will compromise the individual’s access to adequate medical treatment, access to medications, or ability to privately consult with counsel and meaningfully prepare a defense. (C) Juveniles (i) In general Beginning on the date on which a national emergency relating to a communicable disease is declared and ending on the date that is 60 days after such national emergency expires or is terminated, notwithstanding sections 5031 through 5035 of title 18, United States Code, and except as provided under clause (ii), in the case of a juvenile alleged to have committed an act of juvenile delinquency, the judicial officer shall release the juvenile to their parent, guardian, custodian, or other responsible party (including the director of a shelter-care facility) upon their promise to bring such juvenile before the appropriate court when requested by the judicial officer. (ii) Exception A juvenile alleged to have committed an act of juvenile delinquency may be detained pending trial only if, at a hearing at which the juvenile is represented by counsel, the attorney for the Government shows by clear and convincing evidence based on individualized facts that detention is necessary because the juvenile’s release will pose a specific and substantial risk that the juvenile will use violent force against a reasonably identifiable person and that no conditions of release will reasonably mitigate that risk, except that in no case may a judicial officer order the detention of a juvenile if it will compromise the juvenile’s access to adequate medical treatment, access to medications, or ability to privately consult with counsel and meaningfully prepare a defense. (iii) Least restrictive detention In the case that the judicial officer orders the detention of a juvenile under clause (ii), the judicial officer shall order the detention of the juvenile in the least restrictive and safest environment possible, taking the national emergency relating to a communicable disease into consideration. (iv) Contents