Privacy of passengers.

Neither the officers, seamen, nor other persons employed on any such steamship or other vessel shall visit or frequent any part of the vessel provided or assigned to the use of such passengers, except by the direction or permission of the master of such vessel first made or given for such purpose; and every officer, seaman, or other person employed on board of such vessel who shall violate the provisions of this section shall be deemed guilty of a misdemeanor, and may be fined not exceeding one hundred dollars, and be imprisoned not exceeding twenty days, for each violation; and the master of such vessel who directs or permits any officer, seaman, or other person employed on board the vessel to visit or frequent any part of the vessel provided for or assigned to the use of such passengers, or the compartments or spaces occupied by such passengers, except for the purpose of doing or performing some necessary act or duty as an officer, seaman, or other person employed on board of the vessel, shall be deemed guilty of a misdemeanor, and may be fined not more than one hundred dollars for each time he directs or permits the provisions of this section to be violated. A copy of this section, written or printed in the language or principal languages of the passengers on board, shall, by or under the direction of the master of the vessel, be posted in a conspicuous place on the forecastle and in the several parts of the vessel provided and assigned for the use of such passengers, and in each compartment or space occupied by such passengers, and the same shall be kept so posted during the voyage; and if the said master neglects so to do, he shall be deemed guilty of a misdemeanor, and shall be fined not more than one hundred dollars. (Sec. 7.)