A brothel madam who was running a vice den in a block of flats has been fitted with an electronic tag.

Chin Chih Chang insisted she was a professional masseuse and had "no idea" the scantily clad young Asian she employed were selling sex to her clients.

But in reality Chang was selling sex through ads on Gumtree to men who paid between £80 and £110 a time at their home or the flat in the Lord Gambier Wharf development in Kirkcaldy.

She had faced up to five years in prison when she returned to the town's sheriff court for sentencing on Wednesday.

But Sheriff Jamie Gilchrist QC said judges were required to ensure "all steps should be taken to avoid the imprisonment of women if it's not absolutely necessary" - and imposed unpaid work and an electronic tagging order instead.

During a five-day trial jurors and lawyers frequently descended into laughter as a series of punters gave evidence.

One told how he'd received a "Brucie bonus" as a scantily clad woman gave him an "unexpected bonus" after his back rub.

Chang insisted she was running a legitimate business - and said the £30,000 in dirty money she transferred to her native Taiwan was cash for her son.

The 53-year-old, from Sussex, denied charges on indictment of keeping or managing a brothel at the flat, between April 18, 2016 and May 31, 2017.

She further denied transferring criminal property out of Scotland on various occasions between April 19, 2016 and May 31, 2017.

But a jury took less than an hour to find her guilty of both charges by unanimous verdicts.

Defence solicitor David Bell said: "She is married though does not regularly co-habit with her husband - he lives in Brighton and she is in Hove.

"Her spousal visa is under review by the Home Office and this conviction will be taken into account."

Sheriff Jamie Gilchrist QC imposed a community payback order with 300 hours unpaid work and a restriction of liberty order placing her on an electronic tag from 8pm til 6am for a year.

He said: "It was obvious to everybody in the case that these charges require to be treated as serious.

"They are not charges that come before the court every day.

"The English guidelines for a similar offence indicate I should be thinking of a sentence of two to three years imprisonment.

"You are however a first offender and I also have to consider the often expressed directions that judges are given that all steps should be taken to avoid the imprisonment of women if it's not absolutely necessary to do so."