Aftab Mughal went to see Terence Williams for advice and the pair decided to burn away the negativity using lit newspaper as part of a Wiccan ceremony.
Neighbours saw smoke pouring from the property and dialled 999 after seeing the naked men inside the apartment.
The pair were forcibly removed from the flat by firefighters still refusing to cover themselves up when they were given blankets outside.
But rather than drive away the bad vibes the two men found themselves arrested and charged with arson.
Nottingham Crown Court was told how a neighbour became concerned after seeing thick smoke coming from the flat in October last year.
He climbed on a pitched roof at the front of the house and, when he looked inside, could see Williams standing next to a fire completely naked and throwing things on to it, the court was told.
He banged on the window to get Williams’ attention and shouted at him to get out.
Siward James-Moore, prosecuting, said: “The flames were licking around Mr Williams’ ankles at that stage. He was staring right through him.”
The man then forced his way through the door to rescue Williams, not realising Mughal was also inside and involved in the ritual.
The court heard the pair had been burning white sage leaves and a candle as they meditated.
But when Mughal said there was a “negative vibe in the air”, they decided to burn it away.
“Terence Williams suggested both their clothes should be burnt to enhance the ritual they were undertaking,” said Mr James-Moore.
Firefighters entered Williams’ home in The Meadows, Nottingham, as part of a pagan ritual to get rid of “negative vibes”. They found the two men both completely naked.
“They initially refused to leave, were not concerned for their own safety and were shocked the fire service was called.
“They were both asked to leave but both ran upstairs to get away from them.”
The men were found upstairs and were “removed” naked by firefighters and taken outside “in that condition”, the court heard.
A police officer who arrived saw Williams and Mughal standing outside, still naked, making no attempt to cover themselves. He gave them blankets but they threw them on the ground.
Mr James-Moore said: “Aftab Mughal, as far as he was concerned, he didn’t think the ritual was one that made him fear for his safety and he was bemused when the fire brigade arrived.”
Williams, 51, described the ceremony as a Wiccan ceremony, involving burning items to cleanse their souls. Wicca is a modern religion based on ancient pagan traditions.
“He said he walked around the property with Aftab Mughal with small pieces of paper,” explained Mr James Moore.
“He believed he had control of the situation and burned paper and a wooden broom.”
The court heard there had been three different fires in the flat. There were two gas cannisters in a cupboard, which were potentially a threat had the fire got out of control.
Both men pleaded guilty to arson and the judge, Recorder Jason MacAdam, told them “this fire was caused through stupidity rather than malice.”
He gave each man, who had been of previous good character, a 12-month community order, with 120 hours of unpaid work to do in the community. …