CruiseInTime,
Thanks for your reply.
Actually, in certain ports (including St. Petersburg, Russia to which I'm referring) there are no agricultural or other restrictions against taking food off the ship.
Also, there are some shore excursions that include a box lunch or snack provided by the ship, even in ports that impose restrictions.