The sheriff at Perth court rules that confusion in the evidence meant she could not return a guilty verdict