Vince Acors, shown walking out of a Dubai court Sept. 2, and Michelle Palmer, found guilty after being charged for having sex on a beach, have had their jail sentences suspended but will be deported. ((Mosab Omar/Reuters))

Two British citizens convicted of engaging in public sex acts on a beach in Dubai will not have to face any jail time, an appeal court ruled Tuesday.

Vince Acors and Michelle Palmer had their sentences suspended by the court, although it is unclear if their convictions were overturned.

The two were sentenced in October to three months in prison, followed by deportation. The sentence came after they were convicted on two charges of engaging in sexual activity outside wedlock, and for doing so in public.

They will be deported back to Britain as a result of Tuesday's ruling. 

Neither was present at court for the hearing. Both were out on bail while they appealed.

The court did not give a reason for its ruling.

"I'm very happy, I couldn't believe it. This shows the law in the United Arab Emirates is just," Hassan Mattar, the pair's lawyer, told Reuters, adding that it was not clear when the pair would be deported.

Acors, 34, and Palmer, 36, had both pleaded not guilty to the sex charges. When their trial began in August, Palmer denied she had sex with Acors, saying instead the two were merely hugging and kissing.

The incident reportedly took place after the pair met at a champagne brunch at the Le Meridien Hotel near Dubai's airport on July 5.

In its ruling Tuesday, the court also upheld a 1,000 dirham ($340) fine imposed on both for drinking alcohol. The two admitted to being intoxicated at the time of their arrest.

Public displays of affection are illegal in Dubai, a city that has worked hard to cultivate an image as a haven for Western tourists and businesses in the Middle East but has a conservative legal code based on Islamic laws and tribal rules.

With files from Reuters