PARALIMNI, Cyprus — A British woman who was convicted last month of lying to the authorities in Cyprus when she accused a dozen Israelis of raping her in a resort town before retracting her statement will not serve any time in prison, after she was given a four-month suspended sentence on Tuesday.

The woman, who said she had been pressured by the authorities to change her account, will now be allowed to return to Britain after a judge said that he was willing to give her “a second chance” in a case that has drawn international attention.

The handling of her case and the guilty verdict have outraged rights groups — scores of people, including some who had traveled from Israel, protested outside the courthouse in a show of support — and her lawyers said they planned to appeal her conviction in an effort to clear her name.

Dominic Raab, the British foreign minister, said that he had “very serious concerns” about her treatment in Cyprus, telling the BBC on Sunday, “I think she’s gone through a terrible ordeal.”