A court in Tunisia has decided to ban summer blockbuster Wonder Woman from being shown in cinemas, more than a month after it was scheduled for release.

Prosecution spokesperson Sofiene Sliti said in a statement on Wednesday that the decision to ban the US film because it stars an ex-Israel Defence Force (IDF) soldier had been made last week.

The highly anticipated film was due to screen at cinemas in Tunis in June - its worldwide release date - but was withheld after a complaint was made by the nationalist al-Chaab party, which demanded iy should be banned over lead actor Gal Gadot’s military past.

Wonder Woman - Trailer

Ms Godot completed two years of mandatory military service in her native Israel. Her comments on social media concerning the 2014 Israel-Hamas war - in which 1,500 Palestinian civilians lost their lives - caused particular anger.

“I am sending my love and prayers to [...] all the boys and girls who are risking their lives protecting my country against the horrific acts conducted by Hamas, who are hiding like cowards behind women and children...We shall overcome!!! Shabbat Shalom! [sic], she wrote at the time.

While Tunisia has had limited diplomatic ties with Israel since the 1950s, the film sparked new controversy over the country’s relationship with the Jewish state and fresh calls for there to be “no normalisation” of relations between the two nations.

The decision follows similar moves in June from Lebanon - which is technically still at war with its southern neighbour - and Qatar.

Topless Femen activists jailed in Tunisia for indecency Show all 4 1 /4 Topless Femen activists jailed in Tunisia for indecency Topless Femen activists jailed in Tunisia for indecency web-femen-1-getty.jpg Members of the women's topless protest group Femen hold banners during a protest in front of the European Union Parliament on Wednesday Getty Images Topless Femen activists jailed in Tunisia for indecency web-femen-2-ap.jpg Femen activists shout for the release of fellow activists outside the Tunisian embassy in Madrid, Spain, on Wednesday AP Topless Femen activists jailed in Tunisia for indecency web-femen-3-ap.jpg Femen activists shout for the release of fellow activists outside the Tunisian embassy in Madrid, Spain, on Wednesday AP Topless Femen activists jailed in Tunisia for indecency web-femen-4-epa.jpg Femen activists flee from the front of the European Parliament in Brussels on Wednesday EPA

Jordan also briefly imposed a ban on the film last month before approving it for screening.

Despite the fact films starring Ms Godot in the same role such as Batman vs Superman have previously aired in the Arab world without an issue, the hype with which Wonder Woman was anticipated, and Godot’s starring role, brought the film to censors’ attention.

“It’s because she’s the main star of this film, it freaked some people out,” Anthony Sargon, a dual Lebanese-American national who runs The Comic Stash, a Beirut comic bookstore, told The Independent last month.

The bans on the film have been mourned by many who were looking forward to the female-led film, a sorely needed instance of positive representation.

In Tunisia, despite the relative successes of the 2011 Arab Spring protests, rights groups estimate that 70 per cent of women are victims of some form of physical and sexual gender-based violence.