Before the US courts blocked the controversial ruling, it was believed Farhadi would not be able to enter the country at all; on the night, himself and lead actor Taraneh Alidoosti boycotted the event.

Of course, the win was still big news in Iran - one of the seven countries named in Trump’s executive order banning travel to and from the US.

Presenting the award was Charlize Theron and Shirley MacLaine, the Mad Max actor wearing a dress with a plunging neckline.

Charlize Theron and Shirley MacLaine at the Oscars 2017 (Getty)

Iranian Labor News Agency (ILNA) decided to crudely photoshop clothing over Theron, covering her arms, body, and neck, leading to a very bizarre-looking piece of television.

Anousheh Ansari at the Oscars (Getty)

When Ansari accepted the award, the partial area of skin that protruded through the dress was also covered by the network, ILNA using a blurring technique to censor the image. Watch the footage below.

Speaking to The New York Times’ Women in the World, Masih Alinejad - who uploaded the footage to Facebook and a prominent voice fighting Iran’s compulsory hijab laws - explained how the state-run broadcaster goes to “absurd” lengths to keep women’s bodies covered.

“This is the Islamic Republic of Iran which forces girls as young as age seven to be covered up,” she told the publication. “While many of us, including Americans, are expressing our opposition to Trump’s Muslim ban, we also have to be louder and clearer about our condemnation of Islamic Republic of Iran’s ban on women who can’t enter Iran without hijab.

“Women from all religions and cultures, many of whom are flogged and imprisoned inside Iran for not wearing ‘proper hijab.’”

Oscars 2017: Best dressed on the red carpet Show all 25 1 /25 Oscars 2017: Best dressed on the red carpet Oscars 2017: Best dressed on the red carpet Hailee Steinfeld Getty Images Oscars 2017: Best dressed on the red carpet Taraji P. Henson Getty Images Oscars 2017: Best dressed on the red carpet Chrissy Teigen Getty Images Oscars 2017: Best dressed on the red carpet Ruth Negga Reuters Oscars 2017: Best dressed on the red carpet Dev Patel PA Oscars 2017: Best dressed on the red carpet Karlie Kloss Getty Images Oscars 2017: Best dressed on the red carpet Emma Roberts Getty Images Oscars 2017: Best dressed on the red carpet Riz Ahmed Oscars 2017: Best dressed on the red carpet Felicity Jones AFP/Getty Images Oscars 2017: Best dressed on the red carpet Isabelle Huppert AFP/Getty Images Oscars 2017: Best dressed on the red carpet Octavia Spencer Oscars 2017: Best dressed on the red carpet Mahershala Ali Rex Features Oscars 2017: Best dressed on the red carpet Michelle Williams Getty Images Oscars 2017: Best dressed on the red carpet Naomie Harris AFP/Getty Images Oscars 2017: Best dressed on the red carpet Scarlett Johansson Getty Images Oscars 2017: Best dressed on the red carpet Ryan Gosling Getty Images Oscars 2017: Best dressed on the red carpet Viola Davis Getty Images Oscars 2017: Best dressed on the red carpet Charlize Theron Getty Images Oscars 2017: Best dressed on the red carpet Dakota Johnson REUTERS Oscars 2017: Best dressed on the red carpet Chris Evans Oscars 2017: Best dressed on the red carpet Brie Larson Oscars 2017: Best dressed on the red carpet Jamie Dornan and Amelia Warner REUTERS Oscars 2017: Best dressed on the red carpet Sofia Boutella PA Oscars 2017: Best dressed on the red carpet Pharrell Williams Rex Features Oscars 2017: Best dressed on the red carpet Kirsten Dunst Getty Images