I did it once years ago on a Carnival Cruise -- exceeded the limit on alcohol - went to San Juan & St. Thomas. Since I was young and was having trouble figuring out the exact amount I was legally entitled too -- I bought it down with me to the custom declaration area.
The agent wasn't too amused when I asked for help -- and didn't bother to charge me either !