PITTSBURGH (AP) — The Pennsylvania Supreme Court had an unusual standing-room-only crowd Wednesday, as lawyers debated a new law that regulates the state's booming natural gas industry.

Representatives of seven municipalities say the law, known as Act 13, takes away their ability to control gas drilling operations through local zoning, leaving them defenseless to protect homeowners, parks and schools from being surrounded by drilling sites or waste pits.

"It is the role of the court to address whether the legislature went too far," said Jordan Yeager, one of the lawyers representing the municipalities.

In July, the state Commonwealth Court ruled 4-3 that the zoning aspects of Act 13 violated the state constitution, and Gov. Tom Corbett's administration appealed. The Supreme Court currently has three Republicans and three Democrats, and cannot overturn a lower court decision on a 3-3 tie vote.

The Corbett administration says the sweeping, 8-month-old law is constitutional, and doesn't violate the rights of municipalities or residents. Matthew Haverstick, one of the lawyers representing the state, noted that municipalities are created by the Pennsylvania General Assembly.

"When the general assembly wants to, it can override local zoning," Haverstick said. "I think the analysis stops right there."

But several justices questioned whether the power of the legislature is unlimited.

"Isn't the whole purpose of zoning to protect neighbors?" Justice Max Baer asked. "There's a point where government can go too far."

Justice Thomas Saylor questioned whether the law "could in effect turn private residential communities into industrial zones," and Justice Seamus McCaffery asked "about the constitutional right of the citizenry for quiet enjoyment" of their property.

Some local officials say Act 13 puts them in a difficult legal position, because part of their job is to protect the health and safety of their communities.

"We believe Act 13 clearly violates the Pennsylvania constitution and makes it impossible to carry out the responsibilities of elected office," Robinson Township supervisor Brian Coppola said in a statement.

Haverstick suggested that the high court "must defer to the policy of the legislature," prompting Baer to interrupt and say "I have problems with that."

Jonathan Kamin, another attorney for the municipalities, added that "everyone else has to follow the rules on local zoning," and claimed that "since the 1880s there has not been one industry" that has been given the broad rights granted under Act 13, which allows companies to drill and put waste pits even in residential areas.

Act 13 also imposed an "impact fee" on gas drilling companies, and this week the Corbett administration announced how $204 million from this year's receipts will be distributed. But in an unusual twist, they plan to withhold payments to four of the municipalities involved in fighting Act 13.

The hearing lasted about two hours, and the courtroom was filled with representatives of the gas drilling industry, their opponents, and various groups that are supporting one side or the other. The justices have hundreds of pages of legal briefs to consider, and gave no indication of when they may issue a ruling.

The League of Women Voters of Pennsylvania issued a statement in support of the municipalities that are opposing Act 13, and the Columbia University School of Law is also helping to fight the legislation, as are environmental groups.

The natural gas industry, which has invested billions of dollars in Pennsylvania to exploit the Marcellus Shale formation, the nation's largest-known natural gas field, had sought the statewide rules. Some companies complained that municipalities, mostly in southwestern Pennsylvania, had tried to use zoning rules to effectively ban drilling.

Wholesale revenues from Marcellus production this year are projected to be in the range of $6 billion to $8 billion, depending on market prices. Landowners get hundreds of millions of dollars in royalty payments out of that total, and the Corbett administration says the industry benefits the entire state by providing jobs and lowering energy costs.

Also on HuffPost:

Loading Slideshow...
  • In this file photo from Oct. 14, 2011, a drilling rig is seen in Springville, Pa. State regulators blamed faulty gas wells drilled for leaking methane into the groundwater in nearby Dimock, Pa. It was the first serious case of methane migration said to be related to the Pennsylvania Marcellus Shale gas field drilling boom. (AP Photo/Alex Brandon, FILE)

  • British police secure the area where demonstrators erected a mock fracking rig with a banner reading 'No fracking in the UK' in a protest against hydraulic fracturing for shale gas outside the Houses of Parliament in London on December 1, 2012. AFP PHOTO / JUSTIN TALLIS

  • SPRINGVILLE, PA - JANUARY 18: A truck with the natural gas industry, one of thousands that pass through the area daily, drives through the countryside to a hydraulic fracturing site on January 18, 2012 in Springville, Pennsylvania. (Photo by Spencer Platt/Getty Images)

  • SAN FRANCISCO, CA - MAY 30: Protestors stage a demonstration against fracking in California outside of the Hiram W. Johnson State Office Building on May 30, 2013 in San Francisco, California. Dozens of protesters with the group Californians Against Fracking staged a protest outside of California Gov. Jerry Brown's San Francisco offices demanding that Gov. Brown ban fracking in the state. (Photo by Justin Sullivan/Getty Images)

  • People demonstrate on August 3, 2013 in La Petite Brosse, near Jouarre, outside Paris, to protest against an exploratory oil shale drilling, considering that it opens the door to the exploration of shale gas in the Parisian Basin. Banner reads 'Stop gas and oil shale'. AFP PHOTO / PIERRE ANDRIEU

  • In this Nov. 26, 2012 photo, Steve Lipsky demonstrates how his well water ignites when he puts a flame to the flowing well spigot outside his family's home in rural Parker County near Weatherford, Texas. The U.S. Environmental Protection Agency had evidence a gas company's drilling operation contaminated Lipsky's drinking water with explosive methane, and possibly cancer-causing chemicals, but withdrew its enforcement action, leaving the family with no useable water supply, according to a report obtained by The Associated Press. The EPA's decision to roll back its initial claim that hydraulic fracturing, or “fracking,” operations had contaminated the water is the latest case in which the federal agency initially linked drilling to water contamination and then softened its position, drawing criticism from Republicans and industry officials who insisted they proved the agency was inefficient and too quick to draw conclusions. (AP Photo/LM Otero)

  • In this file photo of Jan. 17, 2013, Yoko Ono, left, and her son Sean Lennon visit a fracking site in Franklin Forks, Pa., during a bus tour of natural-gas drilling sites in northeastern Pennsylvania. Ono and Lennon have formed a group called “Artists Against Fracking,” which has become the main celebrity driven anti-fracking organization. (AP Photo/Richard Drew, File)

  • In this March 29, 2013 file photo, a worker checks a dipstick to check water levels and temperatures in a series of tanks at a hydraulic fracturing operation at a gas drilling site outside Rifle, Colorado. (AP Photo/Brennan Linsley)

  • In this March 29, 2013 file photo, a worker switches well heads during a short pause in the water pumping phase, at the site of a natural gas hydraulic fracturing and extraction operation outside Rifle, in western Colorado. (AP Photo/Brennan Linsley)

  • In this March 29, 2013 file photo, workers tend to a well head during a hydraulic fracturing operation at a gas well outside Rifle, in western Colorado. (AP Photo/Brennan Linsley)

  • Josh Fox, director of the anti-fracking, Oscar-nominated documentary “Gasland” testifies during a House Committee hearing on oil drilling, "fracking" legislation at the Illinois State Capitol Tuesday, May 21, 2013, in Springfield, Ill. (AP Photo/Seth Perlman)

  • This is a Thursday Aug. 15, 2013 image of the Cuadrilla exploration drilling site in Balcombe, southeast England. (AP Photo/Gareth Fuller/PA)

  • A child plays near a farmers' protest in an area where oil company Chevron plans to put a drilling rig exploring for shale gas in the south-eastern Polish village of Zurawlow on June 11, 2013. AFP PHOTO / JANEK SKARZYNSKI

  • Protesters hold a banner during a protest outside of the Momentive resin plant, Monday, July 8, 2013, in Morganton, N.C. Dozens of environmental activists blocked a chemical plant Monday to protest against the company's sale of products used in the natural gas drilling process called hydraulic fracturing, or fracking. (AP Photo/The News Herald, Mary Elizabeth Robertson)

  • A fracking rig exploring for shale gas of oil company Chevron on June 11, 2013 in a village of Ksiezomierz in south-eastern Poland. AFP PHOTO / JANEK SKARZYNSKI

  • People demonstrate on August 3, 2013 in La Petite Brosse, near Jouarre, outside Paris, to protest against an exploratory oil shale drilling, considering that it opens the door to the exploration of shale gas in the Parisian Basin. AFP PHOTO / PIERRE ANDRIEU

  • Opponents of hydraulic fracturing in New York state attend a news conference and rally against hydraulic fracturing, also known as fracking, on January 11, 2012 in New York City. (Photo by Spencer Platt/Getty Images)

  • Eric Weltman of Food & Water Watch attends a news conference and rally against hydraulic fracturing, also known as fracking, in New York State on January 11, 2012 in New York City. (Photo by Spencer Platt/Getty Images)

  • Opponents and supporters of gas-drilling, or fracking, walk into the last of four public hearings on proposed fracking regulations in upstate New York on November 30, 2011 in New York City. (Photo by Spencer Platt/Getty Images)

  • Engineers on the drilling platform of the Cuadrilla shale fracking facility on October 7, 2012 in Preston, Lancashire. (Photo by Matthew Lloyd/Getty Images)

  • Engineers at work on the drilling platform of the Cuadrilla shale fracking facility on October 7, 2012 in Preston, Lancashire. (Photo by Matthew Lloyd/Getty Images)

  • General views of the Cuadrilla shale fracking facility on October 7, 2012 in Preston, Lancashire. (Photo by Matthew Lloyd/Getty Images)

  • Engineers look at the Cuadrilla shale fracking facility on October 7, 2012 in Preston, Lancashire. (Photo by Matthew Lloyd/Getty Images)

  • A lump of shale rock on display at the Cuadrilla shale fracking facility on October 7, 2012 in Preston, Lancashire. (Photo by Matthew Lloyd/Getty Images)

  • Engineers on the drilling platform of the Cuadrilla shale fracking facility on October 7, 2012 in Preston, Lancashire. (Photo by Matthew Lloyd/Getty Images)

  • Engineers at work on the drilling platform of the Cuadrilla shale fracking facility on October 7, 2012 in Preston, Lancashire. (Photo by Matthew Lloyd/Getty Images)

  • Drill heads on display at the entrance to the Cuadrilla shale fracking facility on October 7, 2012 in Preston, Lancashire. (Photo by Matthew Lloyd/Getty Images)

  • An engineer displays a lump of shale rock at the Cuadrilla shale fracking facility on October 7, 2012 in Preston, Lancashire. (Photo by Matthew Lloyd/Getty Images)

  • Actor/director Mark Ruffalo (C) speaks at the Hydraulic Fracturing prevention press conference urging the protection of the drinking water source of 15 million Americans at Foley Square on April 25, 2011 in New York City. (Photo by D Dipasupil/Getty Images)

  • (L-R) Actor/director Mark Ruffalo, Denise Katzman, Wenonah Hauter, and Water Defense co-founder/campaign director Claire Sandberg attend the Hydraulic Fracturing prevention press conference urging the protection of the drinking water source of 15 million Americans at Foley Square on April 25, 2011 in New York City. (Photo by D Dipasupil/Getty Images)



WATCH: