No master may perform engine trials of the vessel while it is alongside a wharf, quay or jetty or while it is berthed outside another vessel in a port, unless the master has the permission of the Harbour Master.