Both countries eagerly lobbied for the pipeline , which would ship 1.6 million barrels of oil a day to their energy-hungry markets in Asia , but Japan shifted the project its way by offering billions of dollars in loans and investment to ensure that the pipeline ended at the port in Nakhodka on the Sea of Japan .