Ruling in Pennsylvania runs counter to Supreme Court action in a different case.