Sorry, I meant while not on the boat, not in the actual port.They will never let you use them in port and if you do you run the risk of very severe penalties.
Ports are customs and border zones and quite rightly subject to much tighter security controls.