Scottish Government finds Perth and Kinross Council was wron