Pennsylvania Supreme Court sides with GOP