A female journalist who was thrown out of Australia's parliament for allegedly breaching the dress code has received an apology from the government.
Patricia Karvelas, a presenter for ABC News, said she was asked to leave a parliamentary session on Monday because she was showing "too much skin".
It prompted a social media backlash, with many people pointing to MPs who have worn similar outfits in the past.
Defence Minister Christopher Pyne expressed regret over the incident.
"I would like to apologise on behalf of this side of the House to Ms Karvelas for being ejected yesterday from the press gallery," he said in parliament on Tuesday.
Speaker Tony Smith said the journalist was wearing "professional business attire" and explained that he had ordered a review of the parliamentary dress code following the incident.
"She should, in hindsight, not have been asked to leave," he added.
Ms Karvelas praised the "sensible outcome" on Twitter. "Pleased that female journalists will be free to wear professional clothing that reflects what politicians wear," she wrote.
On Monday, she explained that a "polite" attendant came up to her during a question time session with politicians and said her clothes showed "too much shoulder" and that she "needed to cover up more".
Ms Karvelas contested the request, believing her outfit to be in keeping with parliamentary standards.
According to the Parliament of Australia website, standard of dress is a matter of "individual judgement", although the ultimate verdict on what is acceptable rests with the speaker.
Such standards, it says, "should involve good trousers, a jacket, collar and tie for men and a similar standard of formality for women".
This guidance is the same for both politicians and journalists, which led some people to highlight inconsistencies with how the dress code is enforced.
Political reporter Airlie Walsh tweeted an image of MP Julie Bishop, who often wears short-sleeved or sleeveless dresses in parliament.
Others said the decision to ask Ms Karvelas to leave was "degrading" and "insulting" and some women expressed solidarity by tweeting pictures of themselves with bare arms.
On Twitter, MP Adam Bandt said he had tried to change the "ridiculous" rule last year and hoped a future attempt would now be successful.