I believe that stealing by some/a few dockworkers was quite a widespread/common problem before the introduction of shipping containers. The "authorities" probably did their best to monitor the...