It shall be unlawful for any person, including the owner, agent, consignee, charterer, master, or commanding officer of any vessel or aircraft, to pay off or discharge any alien crewman, except an alien lawfully admitted for permanent residence, employed on board a vessel or aircraft arriving in the United States without first having obtained the consent of the Attorney General. If it shall appear to the satisfaction of the Attorney General that any alien crewman has been paid off or discharged in the United States in violation of the provisions of this section, such owner, agent, consignee, charterer, master, commanding officer, or other person, shall pay to the Commissioner the sum of $3,000 for each such violation. No vessel or aircraft shall be granted clearance pending the determination of the question of the liability to the payment of such sums, or while such sums remain unpaid, except that clearance may be granted prior to the determination of such question upon the deposit of an amount sufficient to cover such sums, or of a bond approved by the Commissioner with sufficient surety to secure the payment thereof. Such fine may, in the discretion of the Attorney General, be mitigated to not less than $1,500 for each violation, upon such terms as he shall think proper.