17. Punishment for vexatious search or arrest.

(a) without reasonable ground of suspicion, enters or searches, or causes to be entered or searched, any building vessel, vehicles or place; or
(b) vexatiously and unnecessarily detains, searches or arrests any person,