The School District of Philadelphia’s ability to cancel a collective bargaining agreement with its teachers union—and its effect on the distressed district’s economic status—drew the attention of the Pennsylvania Supreme Court in Harrisburg on Wednesday.

Navigating a twisted maze of legislative activity spanning several decades, David Pittinsky of Ballard Spahr argued for the district and its governing body, the School Reform Commission, that the SRC’s power to cancel a CBA is necessary to avoid ­giving the city’s 200,000 school children a “lowest common denominator” education.