Yes, customs and the USCG might take a special interest in your cookies or home made brownies. How come they have a greenish tint and a grassy smell?Cookies!!!
My ex-gf would make cookies before arriving in port for the customs/immigration dudes.
We were never stopped at sea by any authorities but I am sure pulling a pack of cookies out of the cupboard and having an innocent female smiling face will have the rigt effect.
It doesn't work for a grumpy solo sailor to hand the CG stale crackers...