A police crackdown on saunas in Edinburgh was foiled after a lawyer uncovered a 27 year old secret deal giving owners immunity from prosecution