[Editor's note: This story was updated at 3:55 p.m. CST June 28.]

A Minnesota regulator approved a certificate of need for Enbridge Inc. (NYSE: ENB) to rebuild its Line 3 oil pipeline on June 28 offering hope to Western Canadian oil producers that have struggled to move crude to refiners.

The Minnesota Public Utilities Commission's decision clears the final hurdle, pending possible appeals, in Enbridge's three-year effort to rebuild its aging, corroded 1,031-mile (1,660-km) pipeline that runs from Alberta in western Canada to Wisconsin.

Calgary, Alberta-based Enbridge shares climbed 3.7% in Toronto.

RELATED:

Minnesota Regulators Question Demand For Expanded Enbridge Oil Pipeline

Canada Dreams Of Oil Exports To Asia, But California Beckons

The commission has not yet decided on the route for Line 3 through Minnesota. The certificate has conditions, including that Enbridge make a financial guarantee to clean up any environmental damage and that it removes at landowners' request pipeline that is no longer in use.

Pipeline bottlenecks have steepened a price discount for Western Canadian heavy crude this year. Refiners in Minnesota and surrounding states say Line 3 is necessary to increase crude supplies.

Environmental groups and some indigenous communities oppose the project over concerns about spills and impact on tribal wild rice harvesting areas. Business and labor groups say the $7 billion project, of which $2.5 billion would be spent in Minnesota, will create jobs and tax revenue.

"It's going to give everybody a real boost," said Bob Schoneberger, who runs a piping contractor business in Duluth, Minnesota.

Line 3, which began service in 1968, operates at half its capacity. Its replacement would allow it to return to approved capacity of 760,000 barrels per day.

"That pipeline is an accident waiting to happen," said commissioner Dan Lipschultz. "It feels like a gun to our head that compels us to approve a new line ... but the gun is real and it’s loaded."

Several commissioners voiced doubts that demand for crude oil and refined products such as gasoline would grow enough to warrant the pipeline. But Enbridge's rationing of demand from oil shippers for space on Line 3 was more convincing of a need to rebuild, said chairwoman Nancy Lange.

Approving a certificate of need is positive for Enbridge, but a subsequent decision on the pipeline route is also pivotal, said RBC analyst Robert Kwan, in a note.

Enbridge has proposed a route that follows the existing pipeline corridor partway through Minnesota, before veering south to avoid the Leech Lake reservation that the pipeline currently bisects. If the commission instead issues a permit for the pipeline to remain in its current corridor, Enbridge has said it would have to shut down the pipeline for nine to 12 months during construction.

Recognized parties, including Enbridge, environmental and indigenous groups, have 20 days from the time a written order is issued—likely in a couple of weeks—to ask the commission to reconsider. If such an application is denied, a party can then appeal to Minnesota's appeals court.