Fans on social media have since expressed their disgust with the controversial call, pointing out that male tennis players can change as often as they want without leaving the court.
"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," one fan wrote.
"Oh please, that is ridiculous. @alizecornet was just being practical and I am sure no one complained," another wrote.
Although the unexpected call didn't cost Cornet any points, she eventually went on to lose the match 6-4, 3-6, 2-6 to Johanna Larsson of Sweden.