"to protect its ships on the waterfront."