Netflix has been ordered to remove a programme portraying Jesus as a gay man from its streaming service by a Brazilian judge.

A Rio-based Catholic organisation brought the case arguing 'The First Temptation of Christ', which shows Jesus introducing his implied boyfriend to his family, hurt the 'honour' of millions of Catholics.

Two million people signed a petition to have the show, produced as a Christmas special, removed after it was uploaded.

The production company, Porta dos Fundos, had molotov cocktails hurled at its headquarters in Rio de Janeiro on Christmas Eve.

Netflix has said it will not comment on the judgement.

Scroll down for video

Netflix was ordered to take the show off its platform by a Brazilian judge who alleged that the right to freedom of expression 'is not absolute'

The First Temptation of Christ, pictured, appears to show Jesus introducing his 'boyfriend' to his family on his 30th birthday

Judge Benedicto Abicair, ruling in Rio de Janeiro, said the programme's censorship will be 'beneficial' to the Christian community and Brazilian society.

'The right to freedom of expression ... is not absolute,' he said. 'I understand, yes, that there must be reflection so that excesses do not occur, avoiding nefarious consequences for many, due to eventual foolishness by a few.

'Exhibiting the 'artistic production' ... may cause graver and more irreparable damage than its suspension.'

The decision has been condemned as censorship by The Order of Attorneys of Brazil, the Brazilian Bar Association.

'Any form of censorship or threat to this hard-won freedom means a setback, and cannot be accepted by society,' Felipe Santa Cruz, the Order's president, said in a statement.

The injunction is valid until the merits of the lawsuit are determined.

The studio of the show's creator, Porta dos Fundos, was attacked by three masked men in Rio de Janeiro last month (pictured)

They hurled at least one molotov cocktail at the building and set fire to its entrance (pictured). The judge granted an injunction after it was initially turned down on appeal

The three men claiming responsibility for the attack (pictured) in a video on social media

The injunction was initially denied by a lower court but, after Catholic organisation Centro Dom Bosco de Fe e Cultura appealed, it was successful. Two million people signed a petition calling for its removal.

Three masked men attacked the headquarters of the show's creators in Rio de Janeiro last month.

Footage shows three masked men claiming responsibility for the attack, while CCTV caught them hurling Molotov cocktails at the building.

An image posted on social media afterwards alleged they only damaged the entrance-way.

One man suspected of having been part of the attack has fled to Russia, and Brazilian authorities have issued a request for the international police organisation Interpol to help apprehend him.

The three men were alleged to have only done damage to the backdoor of the HQ (pictured)

Brazil is home to the world's largest Catholic population as well as a growing evangelical Christian community supportive of the right-wing government of President Jair Bolsonaro.

Bolsonaro once said he would rather have a dead son than a gay son.

His son, Eduardo Bolsonaro, has called the Porta dos Fundos' show 'garbage' on his Twitter account, saying the filmmakers 'do not represent Brazilian society'.