DUBAI, United Arab Emirates (CNN) -- A court in Dubai has sentenced two Britons to three months in prison for having sex on a public beach in the Muslim country.



File image of one of the co-accused -- Vince Acors -- arriving at court in Dubai in September.



After they complete their sentence, the pair will be deported. They also have to pay a 1,000 dirhams ($367) fine for public indecency.



Police charged Michelle Palmer, 36, and Vincent Acors, 34, with illicit relations, public indecency and public intoxication after their arrest at a beach shortly after midnight on July 5.



Both denied that they had intercourse.



"The public (prosecutor) failed to produce corroborative evidence against my clients concerning having consensual sex and committing indecent gestures in public," said the pair's lawyer, Hasan Mattar.



He said the pair will appeal the verdict.  Watch how case stirs up Dubai's bar scene »



The United Arab Emirates (UAE) -- where Dubai is located -- is home to thousands of expatriates and is among the most moderate Gulf states. Still, the oil-rich Gulf kingdom adheres to certain Islamic rules.



More than a million British visitors traveled to the UAE in 2006, and more than 100,000 British nationals live there, according to the British Foreign Office.



The country is in the midst of a building boom to position itself as one of the world's premier tourist destinations. It is already home to the world's largest mall, the world's largest tower, and -- despite being in the Middle East -- boasts the largest indoor snow park in the world.



-- CNN's Caroline Faraj contributed to this report
When were the pair arrested? What were they charged with in Dubai? When will the two Britons be deported? what day were they arrested What is a Britons ? What will happen to the two Britons after they complete their sentences? What were they charged with? Where were the pair arrested? Where is Dubai? what will happen to the britions
July 5. having sex on a public beach After they complete their sentence, the pair July 5. British visitors deported. illicit relations, public indecency and public intoxication DUBAI, Arab Emirates three months in prison
question: When were the pair arrested?, answer: July 5. | question: What were they charged with in Dubai?, answer: having sex on a public beach | question: When will the two Britons be deported?, answer: After they complete their sentence, the pair | question: what day were they arrested, answer: July 5. | question: What is a Britons ?, answer: British visitors | question: What will happen to the two Britons after they complete their sentences?, answer: deported. | question: What were they charged with?, answer: illicit relations, public indecency and public intoxication | question: Where were the pair arrested?, answer: DUBAI, | question: Where is Dubai?, answer: Arab Emirates | question: what will happen to the britions, answer: three months in prison