Any vessel which violates section
269 of this title, or any regulations thereunder or under section
267 of this title, or which enters within or departs from the limits of any quarantine station, ground, or anchorage in disregard of the quarantine rules and regulations or without permission of the officer in charge, shall forfeit to the United States not more than $5,000, the amount to be determined by the court, which shall be a lien on such vessel, to be recovered by proceedings in the proper district court of the United States. In all such proceedings the United States attorney shall appear on behalf of the United States; and all such proceedings shall be conducted in accordance with the rules and laws governing cases of seizure of vessels for violation of the revenue laws of the United States.