"The past few months have been up and down and full of worry for everyone. I am arranging flights back home now and can't wait to see my family.
"It's going to take me a while to recover. It is hard for my friends to imagine what was going through my head when I was told I would be jailed for months.
"I am struggling to come to terms with being released but will be having dinner with my friends tonight before I leave for good."
He said he put his hand on businessman Emad Tabaza's hip to avoid spilling a drink in a crowded bar.
His German accuser dropped the complaint, but local prosecutors decided to proceed with the case.
The electrician had been working in Afghanistan and was on a two-day stopover in the United Arab Emirates when he was arrested in July.
The vice president and prime minister of the United Arab Emirates, Sheikh Mohammed bin Rashid al-Maktoum, has exonerated Harron, according to the group Detained in Dubai.
Radha Stirling, who works for Detained in Dubai, said: "The cases against him have been dismissed, and the sentence imposed by the court yesterday has been nullified.
"We wish to express our deepest gratitude to Sheikh Mohammed for his personal intervention in this case, and for exonerating Jamie at long last.
"It has now been established that the allegations against Jamie were entirely unwarranted, defamatory, and meritless; to such an extent that the ruler of the country found it necessary to step in and correct the wrongful action of the public prosecutor and to quash the judgment of the court."
She added: "This was a courageous and honourable decision on the part of Sheikh Mohammed.
"While it highlights the urgent need for judicial reform in the country, it is also a hopeful sign that the UAE's leadership possesses the will and vision to pursue such reforms in the future."
She said Harron is now considering a civil suit against the businessman and his staff who also accused him of drinking alcohol and making a rude gesture.
When he was sentenced yesterday, he was given two weeks to appeal the decision.
He was said to be "angry, disappointed, and dreads what may happen next".
He was initially jailed for five days and then released on bail with his passport confiscated.
The incident occurred at the raucous Rock Bottom bar, popular among Dubai's many wealthy and often tipsy foreign residents and tourists.
Stirling said at the time: 'He has already suffered tremendously as a result of these allegations, and now faces the likelihood of incarceration.
"He feels betrayed and exploited by the system, which did not investigate the reports of key witnesses in his defence and led him to believe that the case would be dropped."
She added: "His family was unable to visit him during this critical time because they faced a very real risk of imprisonment themselves under the UAE's cyber crime laws which forbid criticism of the government."
Harron had already been sentenced in absentia to 30 days in prison for failing to appear at a court hearing for making a rude gesture and drinking alcohol during the same July incident.
Stirling said she believed a decree from Dubai's ruler, Sheikh Mohammed bin Rashid Al Maktoum, had resolved the case.
In Dubai, as in the other seven sheikhdoms that make up the United Arab Emirates, absolute power rests with the hereditary ruler.
"It was just a public-relations nightmare for the country," Stirling said.
She said of Harron: "He was understandably nervous; as similar calls from the police in other cases were merely tactics to lure individuals into police custody.
"But when Jamie arrived at the police station, his passport was returned, and he was told that he was free to go.
"The charges were dropped, the sentence annulled, and he faces no order for deportation. This came by direct order from Sheikh Mohammed."
Stirling said that ideally such intervention would not have been necessary, but was grateful that the Dubai Ruler took the initiative.
She added: "Of course, a fully functional legal system would not require outside intervention, and a case like Jamie's would never proceed in the first place.
"But we are enormously grateful to Sheikh Mohammed for stepping in and vindicating Jamie after months of hardship."
Harron was accused by another man of sexual assault for touching his buttocks during a dispute at the bar in July.
One of Harron's friends, British national James Allen, 37, who lives in Dubai, told prosecutors that the Scotsman bumped into the accuser's arm accidentally, sparking the argument, according to court documents.
He said Harron apologised to the accuser and "placed his hand on the side of his buttocks as a way of apologising," according to court papers.
Harron's accuser told authorities that the Scotsman had come from behind and hit him on the buttocks while drunk, according to court documents.
The accuser said Harron "laughed" when he asked why he did it and later gave him the finger before police arrived.
Harron also faced charges of drinking alcohol without a permit and over allegedly giving the accuser the finger during the argument. He did not attend his court hearing.
Mr Tabaza, the managing director of global technology firm Neuman & Esser, is said to have received death threats following the incident.
A spokesman for Neuman & Esser confirmed Mr Tabaza dropped the complaint.
In a statement issued on behalf of the businessman, he said: "With a certain distance from the incident and the punishment to be expected for the suspect, our employee decided to withdraw the complaint despite the harassment having been confirmed by several witnesses.
"However, according to the typical laws for the country, this does not automatically result in the termination of the proceedings as, for example, very likely in England or Germany."
Dubai, home of the long-haul airline Emirates, long has sought to make itself a tourism hub. It has the world's tallest building - the Burj Khalifa - as well as man-made islands, an indoor ski slope and miles of air-conditioned walkways in its high-end malls. It also will host the 2020 World Expo, a world's fair held every five years.
Part of Dubai's year-round tourism draw is also its alcohol sales, as Saudi Arabia, Kuwait and Iran ban the purchase of liquor and beer. Even neighboring Sharjah, another of the UAE's sheikhdoms, bans it.
However, alcohol possession for foreigners is technically illegal without a government-issued license obtainable only after gaining their employer's permission, though liquor and beer are widely available in bars.
Foreigners also have faced charges in the past for having sex outside of marriage. Such laws are common in other Mideast nations, based in part on Islamic legal codes.
Recent incidents involving British nationals apparently forced UK Ambassador to the UAE Philip Parham to write a letter warning citizens to exercise more caution and understand local laws in the sheikhdoms. Over 100,000 British citizens live in the UAE, while another 1.5 million visit each year, he said.
"Local laws and customs are very different to those in the UK and that there may be serious penalties for doing something which may not be illegal in the UK," Parham warned.