It is generally accepted that whenever an officer with some authority gives you a request that it is against the law to go against that request. Be that officer the police, waterways or some person with appropriate authority.
It is always best to agree and move than to try a cause problems because, I can assure you, you will loose more times than you can win.