(a) A person commits an offense if the person:
(1) is an officer or member of a crew of a foreign seagoing vessel; and
(2) works on a wharf or levee of a port beyond the end of the vessel's tackle.
(b) An offense under this section is punishable by:
(1) a fine of not less than $10 and not more than $100;
(2) confinement in jail for a term of not less than 10 days and not more than 30 days; or
(3) both the fine and confinement.