; and (2) the questions that were asked during the custodial interrogation were reasonably necessary to obtain such information. (d) Assigned counsel (1) In general A minor who is subject to a custodial interrogation shall have the right to have the legal counsel assigned to the minor’s case physically present during such interrogation. (2) Violation In the case of custodial interrogation of a minor, it shall be a violation of this subsection for the minor to be represented by any substitute counsel temporarily assigned to represent the minor. (e) Inadmissible In any criminal prosecution brought by the United States, any statement given by a minor during a custodial interrogation that does not comply with this section, and any evidence derived from that statement, shall be inadmissible. (f) Minor defined In this section, the term minor means an individual who has not attained 18 years of age. . (b) Clerical amendment The table of sections for chapter 223 of title 18, United States Code, is amended by inserting after the item relating to section 3501 the following item: 3501A. Custodial interrogation of a minor. .