The city council in South Portland, Maine, has placed a moratorium on shipments of Canadian oilsands product, a move that was met with “cheers and a standing ovation,” according to local news sources.

While the city of South Portland — population 25,000 — is hardly a major player in the oil industry, the move is a sign that oilsands producers’ hopes for a “plan B” replacement for the Keystone XL pipeline could run into political problems of their own.

Portland Pipe Line Corp. had planned to reverse the flow of a pipeline between South Portland and Montreal, in order to bring oilsands product to the Atlantic coast, the Portland Press Herald reports.

But a grassroots political movement has succeeded in stopping that, at least temporarily: The city council’s moratorium will be in place until May 5 , 2014, according to WGME-TV, but council is already working on a law that would ban oilsands shipments permanently.

The city council’s move follows a referendum held last week in the city, in which voters rejected an ordinance that would have banned oilsands product from the city’s waterfront, WCSH-TV reports.

With the fate of the contentious Keystone XL pipeline up in the air, Canada’s oilsands industry has been looking for alternatives. One of the of the options is to reverse the flow of existing pipelines, sending Alberta oil to deep-water ports on the east coast for export.

Enbridge’s proposed Line 9 pipeline reversal, currently the subject of controversy in the Toronto area over potential safety risks, would see oil shipped from Sarnia, Ont., to Montreal, from where it would be shipped to Portland.

That pipeline project could be hamstrung if the anti-oilsands movement takes hold in the Portland area, which is home to the second-largest port on the U.S. east coast.

The American Petroleum Institute, which helped fund the successful effort to halt the referendum banning oilsands shipments, has suggested it may sue the city over the moratorium, the Press Herald reports.

The group says the moratorium is both illegal and unconstitutional.

Loading Slideshow...
  • Syncrude's Mildred Lake Upgrader, part of The Syncrude Project complex for oil sands processing, is pictured Monday, March 8, 2006 in Fort McMurray, Alberta, Canada.

  • The Syncrude oil sands extraction facility is reflected in a lake reclaimed from an old mine near the town of Fort McMurray in Alberta, Canada on October 22, 2009.

  • A disused mining machine on display in front of the Syncrude oil sands extraction facility near the town of Fort McMurray in Alberta on October 22, 2009.

  • The Suncor oilsands operation uses trucks that are 3 stories tall, weigh one million pounds, and cost 7 million dollars each.

  • Oil sits on the surface at a Suncor Energy Inc. oilsands mining operation near Fort McMurray, Alberta, Canada, on Tuesday, Aug. 13, 2013. Photographer:

  • A large oil refinery along the Athabasca River in Alberta's Oilsands. Fort McMurray, Alberta.

  • Oils mixes with water at a tailings pond at a Suncor Energy Inc. oilsands mining operation near Fort McMurray, Alberta, Canada, on Tuesday, Aug. 13, 2013.

  • Fort McMurray is in the heart of the world's biggest single oil deposit - the Athabasca Oil Sands, and the oil is extracted by surface mining and refined in the region. The oil production is at the heart of the economy.

  • In this Aug. 5, 2005 file photo, the Syncrude upgrader spreads out towards the horizon at the company's oil sands project in Ft. McMurray, Alberta, Canada.

  • This Tuesday, July 10, 2012 aerial photo shows a Nexen oil sands facility near Fort McMurray, Alberta, Canada.

  • This Sept. 19, 2011 aerial photo shows an oilsands facility near Fort McMurray, in Alberta, Canada.

  • This Sept. 19, 2011 aerial photo shows an oilsands tailings pond at a mine facility near Fort McMurray, in Alberta, Canada.

  • This Sept. 19, 2011 aerial photo shows an oilsands tailings pond at a mine facility near Fort McMurray, in Alberta, Canada.

  • The Syncrude extraction facility in the northern Alberta oil sand fields is reflected in the pool of water being recycled for re-use.

  • A night view of the Syncrude oil sands extraction facility near the town of Fort McMurray in Alberta Province, Canada on October 22, 2009.

  • Aerial view of a lake and forests in the vicinity of oil sands extraction facilities near the town of Fort McMurray in Alberta, Canada on October 23, 2009.

  • Workers use heavy machinery in the tailings pond at the Syncrude oil sands extraction facility near the town of Fort McMurray in Alberta , Canada on October 25, 2009.

  • Fort McMurray is in the heart of the world's biggest single oil deposit - the Athabasca Oil Sands, and the oil is extracted by surface mining and refined in the region. The oil production is at the heart of the economy.

  • A large oil refinery in Alberta's Oilsands project. Fort McMurray, Alberta.

  • Next: Alberta Oil Spills

  • CFB Cold Lake, CNRL

    A bitumen leak was reported at a Canadian Natural Resources oilsands operation in the weapons range part of the RCAF base in June 2013.

  • CFB Cold Lake, CNRL

    Company officials said the leak - at what it calls its Primrose operation - was caused by faulty machinery at one of the wells, affected an area of approximately 13.5 hectares and released as much as 3,200 litres of bitumen each day.

  • CFB Cold Lake, CNRL

    Preliminary tallies put the death toll from the leak at 16 birds, seven small mammals and 38 amphibians. Dozen were rescued and taken to an Edmonton centre for rehabilitation.

  • CFB Cold Lake

    As of early August 2013, more than 1.1 million litres of bitumen had been pulled from marshlands, bushes and waterways.

  • CFB Cold Lake, CNRL

    Although CNRL could not say when the leak may finally be stopped, it estimates it will likely cost more than $40 million to clean up.

  • <em>Click through for other recent spill in Alberta</em>

  • Plains Midstream

    Little Buffalo band member Melina Laboucan-Massimo scoops up July 13, 2012 what appears to oil from the pond shoreline near the site of a 4.5 million-litre Plains Midstream pipeline leak detected April 29, 2011. Photos taken at the site and released by Greenpeace of Alberta's second-worst pipeline spill suggest at least part of the site remains heavily contaminated despite company suggestions that the cleanup is complete.

  • Plains Midstream Canada

    A boat passes by a boom stretching out to contain a pipeline leak on the Gleniffer reservoir near Innisfail, Alta., Tuesday, June 12, 2012. Plains Midstream Canada says one of their non-functioning pipelines leaked between 1,000-3,000 barrels of sour crude near Sundre, Alberta, on June 7 and flowed downstream in the Red Deer river to the reservoir.

  • Plains Midstream Canada

    Debris pushes up against a boom as it stretches out to contain a pipeline leak on the Gleniffer reservoir near Innisfail, Alta., Tuesday, June 12, 2012.

  • Plains Midstream Canada

    A boom stretches out to contain a pipeline leak on the Gleniffer reservoir near Innisfail, Alta., Tuesday, June 12, 2012. Plains Midstream Canada says one of their non-functioning pipelines leaked between 1,000-3,000 barrels of sour crude near Sundre, Alberta, on June 7 and flowed downstream in the Red Deer river to the reservoir.

  • Plains Midstream

    A boom stretches out to contain a pipeline leak on the Gleniffer reservoir near Innisfail, Alta., Tuesday, June 12, 2012. Plains Midstream Canada says one of their non-functioning pipelines leaked between 1,000-3,000 barrels of sour crude near Sundre, Alberta, on June 7 and flowed downstream in the Red Deer river to the reservoir.

  • Plains Midstream Canada

    A photographer snaps a boom stretching out to contain a pipeline leak on the Gleniffer reservoir near Innisfail, Alta., Tuesday, June 12, 2012. Plains Midstream Canada says one of their non-functioning pipelines leaked between 1,000-3,000 barrels of sour crude near Sundre, Alberta, on June 7 and flowed downstream in the Red Deer river to the reservoir.

  • Plains Midstream Canada

    A boom stretches out to contain a pipeline leak on the Gleniffer reservoir near Innisfail, Alta., Tuesday, June 12, 2012. Plains Midstream Canada says one of their non-functioning pipelines leaked between 1,000-3,000 barrels of sour crude near Sundre, Alberta, on June 7 and flowed downstream in the Red Deer river to the reservoir.

  • Plains Midstream Canada

    A worker slows traffic while a boom stretches out to contain a pipeline leak on the Gleniffer reservoir near Innisfail, Alta., Tuesday, June 12, 2012. Plains Midstream Canada says one of their non-functioning pipelines leaked between 1,000-3,000 barrels of sour crude near Sundre, Alberta, on June 7 and flowed downstream in the Red Deer river to the reservoir.

  • Plains Midstream Canada

    A no swimming sign along the banks of the Gleniffer reservoir while a boom stretches out to contain a pipeline leak on the lake near Innisfail, Alta., Friday, June 12, 2012. Plains Midstream Canada says one of their non-functioning pipelines leaked between 1,000-3,000 barrels of sour crude near Sundre, Alberta, on June 7 and flowed downstream in the Red Deer river to the reservoir.

  • Plains Midstream Canada

    Oil from a pipeline leak coats a pond near Sundre, Alta., Friday, June 8, 2012. Plains Midstream Canada says one of their non-functioning pipeline leaked between 1,000-3,000 barrels of oil.

  • Plains Midstream Canada

    Oil from a pipeline leak coats a pond near Sundre, Alta., Friday, June 8, 2012. Plains Midstream Canada says one of their non-functioning pipeline leaked between 1,000-3,000 barrels of oil.

  • Plains Midstream Canada

    Oil from a pipeline leak coats a pond near Sundre, Alta., Friday, June 8, 2012. Plains Midstream Canada says one of their non-functioning pipeline leaked between 1,000-3,000 barrels of oil.

  • Plains Midstream Canada

    Tracks pass through oil on the banks of the Gleniffer reservoir after a pipeline leak near Sundre, Alta., on Friday, June 8, 2012. Plains Midstream Canada says one of their non-functioning pipelines leaked between 1,000-3,000 barrels of oil.

  • Enbrige's Athabasca pipeline

    Approximately 1,450 barrels of oil spilled from a pumping station along Enbridge’s Athabasca pipeline in June 2012. The spill occurred approximately 24 kilometres from Elk Point, Alta., a village located 200 kilometres northeast of Edmonton.

  • Lake Wabamun

    Wreckage from the August 3rd train derailment and subsequent oil spill is seen lining the shore of Lake Wabamun on Monday, August 8, 2005, as clean-up continues.

  • Lake Wabamun

    Wreckage and black oil from the August 3rd train derailment and subsequent oil spill are seen lining the shore and waters of Lake Wabamun on Monday, August 8, 2005, as clean-up continues.

  • Lake Wabamun

    White absorbent boom is seen lining the shores of Lake Wabamun, Alberta, as the clean-up effort from the August 3rd train derailment and subsequent oil spill continues on Monday, August 8, 2005.

  • Lake Wabamun

    Wreckage and black oil from the August 3rd train derailment and subsequent oil spill are seen lining the shore and waters of Lake Wabamun on Monday, August 8, 2005, as clean-up continues.

  • Lake Wabamun

    Wreckage and black oil from the August 3rd train derailment and subsequent oil spill are seen lining the shore and waters of Lake Wabamun on Monday, August 8, 2005, as clean-up continues. Lake Wabamun was severely polluted when a train carrying heavy oil derailed on August 3, 2005, spilling much of it's load into the lake.

  • Lake Wabamun

    Rail cars leak bunker fuel oil, meters from summer homes bordering Lake Wabamun, after a freight train derailed, in this August 3, 2005 file photo, near the town of Wabamun, Alta. Canadian National Railway faces an environmental charge stemming from the train derailment and oil spill at a popular Alberta lake last summer.