18. All the powers for the time being conferred by law on officers of customs with regard to the searching and detention of vessels may be exercised for the prevention of offences under this Ordinance by any such officer or by any officer authorised by the Government in this behalf.