The US Open have been slammed after a chair umpire penalized Alize Cornet with a code violation after she was caught turning her top the right way around on the court.The French player, who is ranked 31st in the world among professional female players, was facing Swedish star Johanna Larsson in New York on Tuesday.Due to the crushing humidity and soaring temperatures at Flushing Meadows, all players were given a 10-minute heat break to cool off.When Cornet was heading back to the court after the break, she appeared to notice that her top she had changed into was on backwards. Cornet quickly turned away from the cameras and pulled the shirt up and moved it around the correct way.During the clothing change, which only took about fifteen seconds, she exposed her black sports bra.When Cornet turned back towards the Center Court, the chair umpire, Christian Rask, punished her with a code violation for “unsportsmanlike behavior” and deemed the action "inappropriate".The Women's Tennis Association (WTA) rules stipulate that female players can't change their clothing while on the court and must instead go to a dressing room. The rules state that “a player can only change clothes during the end of a set, or during a medical timeout, in an off-court location”.Male players, however, are allowed to do so, and regularly change their shirts on court. On occasion, male players also sit on the sidelines without their shirts on.The punishment shocked not only Cornet but also all her fans, including her coach Judy Murray, who took to social media to express their thoughts on the blatant sexism:Alize Cornet came back to court after 10 minute heat break. Had her fresh shirt on back to front. Changed at back of court. Got a code violation. Unsportsmanlike conduct..... 😳But the men can change shirts on court. https://t.co/sCN4KDXYTb— judy murray (@JudyMurray) August 28, 2018So, hold on... Novak can take his shirt off because of extreme heat & that's ok. But Alize #Cornet takes a minute to turn her shirt around (with a bra on, BTW), & we're all losing our minds?!?! Right 🤦🏼‍♀️#USOpen #everydaysexism #youseemoreatthebeachhttps://t.co/tGfLKdhwDk— Jane-Elise Cherry (@jecherry_SP) August 29, 2018Tennis is well ahead in the race for the 2018 sexism awards. Ffs. #Cornet #catsuit #usopen18 #RolandGarros— jb (@iamjwb5) August 29, 2018Alize #Cornet didn't even chance her shirt but got a code violation. Hello 50's! 😑 #usopen https://t.co/YiaXADfFAx— Giulia Cannarella (@gemini82_press) August 29, 2018Until women in tennis speak up instead of taking the high road, idiot violations will continue to happen only to them instead of their male counterparts #Tennis #Cornet #Williams— Lyla (@itslyla) August 29, 2018Seriously, we accept male players such as #Novak to take their shirt off because of extreme heat. But when #Cornet takes 15 seconds to turn her shirt around as it was on backwards she gets a warning 🤦🏼‍♀️ Btw, she was wearing a sports-bra! #USOpen⁠ ⁠ #AlizeCornet pic.twitter.com/HO0XHwqswS— Hanife Rexhepi (@Hanife_Rexhepi) August 29, 2018I'm glad that these unconscious biases are coming out in the open but sorry for the women like #Cornet or #Williams who suffer from them...US Open apologises after Alizé Cornet penalised for briefly removing shirthttps://t.co/SHSSfX3THP— Helen Caton Hughes (@helenrcaton) August 30, 2018Just to confuse some Tennis refs: penalty, no penalty?#DoubleStandard #Cornet pic.twitter.com/LXf5e0V7TV— Romina Kunze (@RomCom29) August 29, 2018See women flashing their sports bras all the time at the gym some woman even choose to perform in a bra my goodness 🙄 ugh stoopid #USOpen #Cornet https://t.co/1TENeJEL2Vopen-accused-of-sexism-after-alize-cornet-is-penalised-for-flashing-her-bra-11484887— KᎥᏒᏕϮꂅ (@kiters_) August 29, 2018US Open chiefs have since admitted that they were wrong in charging Cornet for misconduct. In a statement issued on Wednesday, they said, “All players can change their shirts when sitting in the player chair. This is not considered a code violation.”“We regret that a code violation was assessed to Ms. Cornet yesterday. We have clarified the policy to ensure this will not happen moving forward. Fortunately, she was only assessed a warning with no further penalty or fine."“Female players, if they choose, may also change their shirts in a more private location close to the court, when available. They will not be assessed a bathroom break in this circumstance.”