The ship had loaded vegetable oil and biofuels in Malaysia and was headed for Venice, Italy.