I was my understanding that as long as you don't touch ground, get out of the boat onto land, you were okay. Point is, you don't call customs when you enter their water, you call customs when you land. If you do "dock" but don't get out of the boat you need to fly a yellow quarantine flag until the captain reports to customs, either in person or by phone.
There may be more to it than this.