Israel’s parliament has banned politicians, other employees and visitors from wearing miniskirts and short dresses.

The revised dress code at the Knesset applies immediately to everyone entering the building, officials said on Wednesday.

“Entrance to the Knesset is permitted only in appropriate attire,” stated a notice on the official Knesset website. It stipulates there should be no tank tops or spaghetti tops, cropped tops, shorts or three-quarter length trousers, ripped trousers, shirts with political slogans, short skirts or short dresses, flip-flops or open-back clogs, were to be worn in parliament, by "adults and youth aged 14 and over”.

A Knesset spokesman said the dress code had already existed, but it was ambiguous and poorly enforced.

“This a not a new code but, rather, a revision of a previous dress code, which circulated several weeks ago, and is intended to clarify, as much as possible, the ambiguity that existed in the past — while expressing sensitivity and attempting not to hurt the feelings of our visitors and guests,” Yotam Yakir told the Times of Israel.

The banning of short skirts and short dresses, however, was said to be a new addition to the old guidelines by a parliament source.

The source told the Marker the new rule had not caused any issues in the Knesset so far.

“In the few weeks since the additional regulations, we have only had one incident where we had to ask a visitor to change her clothing, which she complied with and accepted completely,” the source said.

They added that Knesset security had been instructed to only enforce the rules on people of the same gender.

“We have decided that female guards will comment on women’s dress and male guards will comment on men’s dress,” the source said.

33 of the Knesset’s 120 lawmakers are currently women, a record number in the country. But despite progress, many have complained of discriminatory treatment.

Earlier this month a new synagogue was opened on the site, causing the Knesset to come under fire when it was discovered the tiny women's section could only fit about half the female MPs inside and had no room for the hundreds of other women who work in the building everyday.

In spring 2016, a survey by an Israeli television channel found a number of the female MPs had been sexually harassed or assaulted in the past, and at least two said those experiences had occurred in the Knesset itself.

Sexism and the state of Israel Show all 3 1 /3 Sexism and the state of Israel Sexism and the state of Israel Pg-26-israeli-ap.jpg AP Sexism and the state of Israel Pg-26-israeli2-ap.jpg AP Sexism and the state of Israel Pg-26-israeli4-afp.jpg AFP

“Even today, the fact that I’m a single woman in the Knesset puts me in unpleasant situations,” Merav Ben Ari, a Knesset member from the centrist Kulanu political party, told Israeli Channel 2. “Sometimes people make comments," she said. "I don’t want to elaborate, but there was a situation recently in the Knesset, and I took care of it.”

Rachel Azaria, also of Kulanu, said she had several bad experiences in her time as a Jerusalem City Council member.