Part G of the Controlled Substances Act (21 U.S.C. 801 et seq.) is amended by adding at the end the following:
710. Rule regarding application to marijuana
(a) States Notwithstanding any other provision of law, the provisions of this Act as applied to marijuana, except the provisions described in subsection (d) and except as provided in subsection (e), shall not apply to any marijuana manufactured, produced, possessed, distributed, dispensed, administered, or delivered in compliance with State law relating to the manufacture, production, possession, distribution, dispensation, administration, or delivery of marijuana.
(b) Indian Tribes Notwithstanding any other provision of law, the provisions of this Act related to marijuana, except the provisions described in subsection (d) and except as provided in subsection (e), shall not apply to marijuana manufactured, produced, possessed, distributed, dispensed, administered, or delivered in compliance with the law of a federally recognized Indian Tribe relating to the manufacture, production, possession, distribution, dispensation, administration, or delivery of marijuana within its jurisdiction in Indian country, as defined in section 1151 of title 18, United States Code, so long as such jurisdiction is located within a State that permits, as applicable, the manufacture, production, possession, distribution, dispensation, administration, or delivery of marijuana.
(A) In general No State or Indian Tribe may prohibit the transportation or shipment of marijuana through the State or the territory of the Indian Tribe, as applicable, if the originating and destination States or territories permit, as applicable, the manufacture, production, possession, distribution, dispensation, administration, or delivery of marijuana.
(B) Rule of construction Subparagraph (A) shall not be construed to limit the authority of an originating or destination State or territory to impose reasonable restrictions within its jurisdiction on the manufacture, production, possession, distribution dispensation, administration, or delivery of marijuana—
(i) through time, place, and manner restrictions; or
(ii) to protect public health and safety.
(1) State law
(2) Federal law Notwithstanding any other provision of law, the provisions of this title as applied to marijuana, except the provisions described in subsection (d) and except as provided in subsection (e), shall not apply to any person engaged in marijuana transportation or shipment between two States which States permit, as applicable, the manufacture, production, possession, distribution, dispensation, administration, or delivery of marijuana.
(c) Interstate transportation
(d) Provisions described The provisions described in this subsection are—
(1) section 401(a)(1), with respect to a violation of section 409 or 418;
(2) section 409;
(3) section 417; and
(4) section 418.