When any passenger commits any crime or misdemeanor upon any train or boat , the conductor, captain or master, or employees of that trainor boat may arrest that passenger and take him or her before any judge of the circuit court, in any county through which the boat or train may pass, or in which its trip may begin or terminate, and file an affidavit before the judge , charging the passenger with the crime or misdemeanor.
610 ILCS 80/4