If any offence of desertion or absence without leave under section 98 or offence against discipline under section 99 is committed, or if any act of misconduct is committed for which the offender’s agreement imposes a fine and it is intended to enforce the fine,---
(a) an entry of the offence or act shall be made in the official logbook and signed by the master and the officer on watch;
(b) the offender, if still in the vessel, shall, before the subsequent arrival of the vessel at any port, or, if she is at the time in port, before her departure therefrom, be furnished with a copy of the entry and have the same read over distinctly and audibly to him and may thereupon make such reply thereto as he thinks fit;
(c) a statement of a copy of the entry having been so furnished and the entry having been so read over and the reply, if any, made by the offender shall likewise be entered and signed in the manner aforesaid; and
(d) in any subsequent legal proceedings, the entries required by this section shall, if practicable, be produced or proved, and, in default of such production or proof, the court hearing the case may in its discretion, refuse to receive evidence of the offence or act of misconduct.