When Nicola Sturgeon called for a review of the way the Scottish Government handled sexual harassment claims in the wake of the Westminster scandal, she could scarcely have imagined that the first person to fall foul of the updated procedures would be her predecessor as First Minster.