Dublin Police Act, 1842

Superintendent, &c. having just cause to suspect felony, may enter on board vessels, &c. to take up suspected persons.

24. It shall be lawful for every superintendent, inspector, or serjeant belonging to the Dublin police, having just cause to suspect that any felony has been or is about to be committed in or on board of any ship, boat, or other vessel lying in the said river, or any of the said harbours, docks, and creeks, to enter at all times, as well by night as by day, into and upon every such ship, boat, or other vessel, and therein to take all necessary measures for the effectual prevention or detection of all felonies which he has just cause to suspect to have been or to be about to be committed in or upon the said river or harbours, docks, or creeks, and to take into custody all persons suspected of being concerned in such felonies, and also to take charge of all property so suspected to be stolen.