(1) Any maritime officer, officer of customs, surveyor of ships, police officer or ports constable may arrest without warrant any person offending, in his or her view, against any provision of this Act or any regulations made thereunder and take him or her before a court, to be dealt with according to law.