(2)If, either at the commencement or during the progress of any voyage, a seaman or apprentice engaged in an Indian ship commits outside India, the offence of desertion or absence without leave or any offence against discipline, the master, any mate, the owner or agent of the owner may, if and so far as the laws in force in the place will permit, arrest him without first procuring a warrant.