Just out of interest - what sort of boat are you sailing ?
I''ve read all the posts above & agree wholeheartedly with the comments.
Having said that, its been our experience (in SE Asia anyway) that the boats that attract the most attention from all & sundry tend to be the larger well maintained vessels - where the assumption is that "you can afford to pay" - taxes, fees etc are usually just a "face saving" way of extracting mulla from whities.
Bear in mind that many officials in these poorer countries supplement their megre wages in this way, and its just a way of life one has to accept when travelling these countries.
Like the others who frequent 3rd world countries, we know that the payment of bakseeh is an accepted way of life & if they don''t get it one way - they will get it some other way & that may well be unsavoury !!