Unless specifically authorized by law, clearance of vessels within the common carrier exception of section 594, Tariff Act of 1930 (19 U.S.C. 1594), shall not be refused for the purpose of collecting a fine imposed upon the master or owner, unless either of them was a party to the illegal act.