A Pennsylvania gun rights group has pre-enforcement standing to challenge a slate of ordinances in Harrisburg that bar people from shooting firearms in the city and restricts the possession of guns by minors, the state Supreme Court has ruled.

The ruling, which affirms a decision by the Commonwealth Court, allows the group Firearm Owners Against Crime, as well as three named plaintiffs, to proceed with their declaratory judgment action challenging the city’s ordinances as unconstitutional. The case split the justices 4-3 on the issues, and elicited four separate opinions from the seven-member court.