A church which worships an invisible flying spaghetti meatball monster has been granted permission to register itself as an official religion in Poland.

The Church of the Flying Spaghetti Monster, whose followers call themselves Pastafarians, could soon be considered an official religion after a Warsaw court overturned a 2013 ruling by the Regional Administrative Court.

Judge Wlodzimierz Kowalczyk rejected the court's original decision to block the group becoming a religion as Poland's Ministry of Administration had not allowed the group a two-month extension for submitting outstanding documents.

A group of Pastafarians gathered outside the Warsaw court to chant "pasta" following the ruling.

Perhaps unsurprisingly, the Church of the Flying Spaghetti Monster sees itself as more of a parody religion and mocks other religion's beliefs.

Pastafarians end their prayers with "ramen" - the Japenese noodle - instead of amen. The church also opposes the teaching of creationism and intelligent design in schools.

The Church of the Flying Spaghetti Monster's website states: "With millions, if not thousands, of devout worshippers, the Church of the FSM is widely considered a legitimate religion, even by its opponents – mostly fundamentalist Christians, who have accepted that our God has larger balls than theirs.

"The Church of FSM is real, totally legit, and backed by hard science. Anything that comes across as humour or satire is purely coincidental."

In January, Pastafarian minister Christopher Shaeffer was sworn in to serve on his local town council of Pomfret in New York wearing a colander on his head.

Many followers of the Church of the Flying Spaghetti Monster have also won the right to have the pasta drainer be considered religious headgear, even being allowed to pose for their driving licence photos wearing one.