Except as provided in paragraph (3), the tax imposed by section 5051 on beer produced in the United States, or imported into the United States and transferred to a brewery free of tax under section 5418, shall be determined at the time it is removed for consumption or sale, and shall be paid by the brewer thereof in accordance with section 5061.
Except as provided in paragraph (4), the tax imposed by section 5051 on beer imported into the United States and not transferred to a brewery free of tax under section 5418 shall be determined at the time of the importation thereof, or, if entered for warehousing, at the time of removal from the 1st such warehouse.
Beer which has been removed for consumption or sale and is thereafter returned to the brewery shall be subject to all provisions of this chapter relating to beer prior to removal for consumption or sale, including the tax imposed by section 5051. The tax on any such returned beer which is again removed for consumption or sale shall be determined and paid without respect to the tax which was determined at the time of prior removal of the beer for consumption or sale.
All administrative and penal provisions of this title, insofar as applicable, shall apply to any tax imposed by section 5051.