TORONTO -- Canada's prime minister said Thursday he "won't take no for an answer" if the Obama administration rejects the controversial Keystone XL pipeline to the U.S. Gulf Coast.

Prime Minister Stephen Harper addressed the Keystone XL project, a flashpoint in the debate over climate change, during a visit to New York City. The long-delayed project carrying oil from Canada's oil sands needs approval from the U.S. State Department, and Harper's remarks are some of his strongest to date.

"My view is that you don't take no for an answer," Harper said. "We haven't had that but if we were to get that it won't be final. This won't be final until it's approved and we will keep pushing forward."

Harper, who made the remarks at a Canadian American Business Council event, said he's been in regular contact with President Barack Obama. Harper said it will create 40,000 jobs in the U.S.

"The logic behind this project is simply overwhelming," the prime minister said.

Harper said politics has cast doubt on whether the pipeline will be approved but said he's optimistic it will be approved.

"Ultimately, over time, bad politics make bad policy," he said. "The president has always assured me that he will a make decision that's in what he believes is in the best interests of the United States based on the facts. I think the facts are clear."

The Obama administration is considering whether to approve the pipeline, which would carry 800,000 barrels of oil a day from Alberta across six U.S. states to the Texas Gulf Coast. A decision late this year or early next year.

Republicans, and business and labor groups, have urged the Obama administration to approve the pipeline as a source of much-needed jobs and a step toward North American energy independence. Environmental groups have been pressuring President Barack Obama to reject the pipeline, saying it would carry "dirty oil" that contributes to global warming. They also worry about a spill.

Obama's initial rejection of the pipeline last year went over badly in Canada, which relies on the U.S. for 97 percent of its energy exports.

The pipeline is critical to Canada, which needs infrastructure in place to export its growing oil sands production. The northern Alberta region has the world's third largest oil reserves, with 170 billion barrels of proven reserves.

Also on HuffPost:

Loading Slideshow...
  • <em>From Getty:</em> SAN FRANCISCO, CA - OCTOBER 25: Protestors against the construction of the Keystone XL oil pipeline hold signs and stand on a Keith Haring sculpture as they demonstrate outside of the W Hotel before the arrival of U.S. President Barack Obama on October 25, 2011 in San Francisco, California. Hundreds of protestors from a wide variety of activist groups staged protests outside of the W Hotel where President Obama was holding a $7,500 per person fundraiser. (Photo by Justin Sullivan/Getty Images)

  • <em>From Getty:</em> SAN FRANCISCO, CA - OCTOBER 25: A protestor against the construction of the Keystone XL oil pipeline climbs on a Keith Haring sculpture as he demonstrates outside of the W Hotel where U.S. President Barack Obama was holding a fundraiser on October 25, 2011 in San Francisco, California. Hundreds of protestors from a wide variety of activist groups staged protests outside of the W Hotel where President Obama was holding a $7,500 per person fundraiser. (Photo by Justin Sullivan/Getty Images)

  • <em>From Getty:</em> Demonstrators listen to speakers in Lafayette Park across from the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline. (Photo credit should read KAREN BLEIER/AFP/Getty Images)

  • <em>From Getty:</em> Demonstrators listen to speakers in Lafayette Park across from the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline. (Photo credit should read KAREN BLEIER/AFP/Getty Images)

  • <em>From Getty:</em> A demonstrator waves signs in Lafayette Park across from the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>From Getty:</em> A demonstrator dressed as an oil soaked bird in Lafayette Park across from the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>From Getty:</em> Demonstrators listen to speakers in Lafayette Park across from the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>From Getty:</em> A demonstrator holds signs in front of the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>From Getty:</em> A demonstrator holds a magazine open to an article concerning tanker routes for the proposed Keystone XL Pipeline in front of the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>From Getty:</em> Children demonstrate in front of the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline. AFP PHOTO / Karen BLEIER

  • <em>From Getty:</em> Demonstrators hold up a banner in front of the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline. AFP PHOTO / Karen BLEIER

  • <em>From Getty:</em> Demonstrators begin to line up around the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>From Getty:</em> Demonstrators in front of the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>From Getty:</em> Demonstrators line up in front of the White House in Washington, DC November 6, 2011. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>From Getty:</em> A sign is seen in Lafayette Park across from the White House in Washington, DC November 6, 2011 during a protest. Thousands of people are descending on the White House to join hands with one another and stand up to the Keystone XL pipeline.

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/6320235175/in/set-72157628079975942" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/6320925438/in/set-72157628079975942" target="_hplink">Emma Cassidy and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/6320975886/in/set-72157628079975942" target="_hplink">Shadia Fayne Wood and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/6320307073/in/set-72157628079975942" target="_hplink">Amy Dewan and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/6320919878/in/set-72157628079975942" target="_hplink">Emma Cassidy and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/6320760272/in/set-72157628079975942" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/6321050482/in/set-72157628079975942/" target="_hplink">Clayton Conn and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/mothernature/6306631974/" target="_hplink">mothernature photography</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>

  • <em>Flickr image courtesy of <a href="http://www.flickr.com/photos/tarsandsaction/" target="_hplink">Josh Lopez and Tar Sands Action</a>.</em>