; (B) in paragraph (2)(C), by inserting and after uses, ; and (C) inserting before the undesignated matter following paragraph (2)(C) the following: (3) such amounts of marihuana or cannabidiol as are— (A) approved for authorized medical research (as such terms are defined in section 2 of the Cannabidiol Research Expansion Act ), or (B) necessary for registered manufacturers to manufacture drugs containing marihuana or cannabidiol that have been approved for use by the Commissioner of Food and Drugs under the Federal Food, Drug, and Cosmetic Act ( 21 U.S.C. 301 et seq.), ; and (2) in section 1007 ( 21 U.S.C. 957 ), by amending subsection (a) to read as follows: (a) (1) Except as provided in paragraph (2), no person may— (A) import into the customs territory of the United States from any place outside thereof (but within the United States), or import into the United States from any place outside thereof, any controlled substance or list I chemical, or (B) export from the United States any controlled substance or list I chemical, unless there is in effect with respect to such person a registration issued by the Attorney General under section 1008, or unless such person is exempt from registration under subsection (b). (2) Paragraph (1) shall not apply to the import or export of marihuana or cannabidiol that has been approved for— (A) authorized medical research authorized under section 5 of the Cannabidiol Research Expansion Act ; or (B) use by registered manufacturers to manufacture drugs containing marihuana or cannabidiol that have been approved for use by the Commissioner of Food and Drugs under the Federal Food, Drug, and Cosmetic Act ( 21 U.S.C. 301 et seq.). . 7. Safe harbor (a) Definitions In this section— (1) the term adult means an individual who is not less than 18 years of age; (2) the term child means an individual who is not more than 17 years of age