A Swedish doctor nicknamed 'Dr Anal' because of his controversial massage techniques to cure ailments such as headaches could soon be allowed to work again.

The medic was struck off in his homeland earlier this year, having previously been banned from practising in Denmark.

But an administrative court in Stockholm has said the decision to withdraw his permit should not stand.

The unnamed doctor was struck off in Sweden earlier this year, but an appeal has been upheld by an administrative court in Stockholm

Newspaper Dagens Nyheter reports that the doctor, whose name has not been released, said an amendment to the Patient Safety Act in Sweden meant his appeal was accepted on a technicality.

But Sweden's Medical Board of Responsibility (HSAN) has indicated it will pursue a case against him using another clause, The Local reports.

The doctor said his unusual massages have been carried out on up to 1,000 patients, and described results as 'very good'.

But HSAN disagrees, and said his treatment approach is 'dubious'.

He was given a warning in 2003 for treating an elderly woman's headaches and back pain by massaging her anus - an action she described as 'an incredibly offensive encroachment'.

After appealing to Stockholm County Court in 2008, he was allowed to continue to work despite multiple warnings.

He lost his licence in Denmark last July after piercing a patient's lung while trying to inject anaesthetic.

This prompted authorities in Sweden to revoke his licence.

Officials also discovered he had been previously been fired for a job in Norway after being recognised from damning press coverage. He had been dismissed

The Norwegian officials found he had already been dismissed in a different part of the country, after he made inappropriate jokes to a group of Norwegians mourning a death, the Local reports.

Speaking at the time, the doctor claimed his dismissal was part of a 'witch hunt' against him.

After being fired, he said he believed he was 'misunderstood'.

'I have a personality disorder, or rather a syndrome, a form of Asperger syndrome.

'Just like Bill Gates or Einstein, for example,' he told Swedish tabloid Aftonbladet.