Confession: I may or may not pride myself in being a bit of an office fashionista.

While my work environment boasts quite the laid-back dress code (think jeans, sneakers, even the occasional hoodie!), I sport dress pieces that make me feel confident, powerful, and as if my salary could double at any moment. The first step to the next big promotion is looking the part, right? Tailored blazers, trendy heels, pencil skirts and statement necklaces? Yes, please!

Needless to say, I was shocked, appalled, and utterly humiliated the day it was brought to my attention that I, Queen of the Day Dress/Cardigan combo, had been violating the office dress code.

(Truth be told, I’m still somewhat in denial about the entire thing.)

A co-worker, who also happens to be a very close friend, tentatively approached my desk on Friday afternoon to deliver the news.

“Katrina,” she calmly inquired, “Are you familiar with our company’s policy on leggings?”

I slowly gulped, feeling my face flush with chagrin. My pulse quickened as I glanced down at my casual Friday attire: a jacket and tasteful tunic (long enough to cover my butt, of course), paired with my new Tory Burch flats and favorite pair of—gulp—black leggings.

My co-worker delicately explained that leggings were only office acceptable when paired with a dress—even on casual Friday. She proceeded to show me the official dress code on our organization’s internal website, so I could check back for future reference if I ever had questions. She was clearly going out of her way to ensure her words were kind, gentle, and judgement-free. Still, my style ego had been seriously bruised—the realization that I was even having such a conversation was… well… shameful.

“Has anyone said anything?” I asked, not entirely sure I wanted to know the answer.

At that moment, my worst fears were confirmed. Apparently, a couple of team members had made comments regarding my inappropriate leg wear. All the J. Crew separates in the world couldn’t erase the fact that I, the self-proclaimed style maven, had officially become “that girl.”

While I desperately wish I could take back the ill-conceived leggings, my run-in with the fashion police did teach me a few valuable lessons about dressing for the workplace.

1. Always review your company’s dress code.

Never in a million years did I imagine myself dense enough to blatantly break rules regarding office attire. While several of my co-workers sport jeans and track jackets, I’m the one dressed head to toe in Ann Taylor! Certainly my stylish intuition would know better than to lead me astray!

(Clearly, I was mistaken.)

I don’t care if you have a PhD in business casual, it never hurts to review your workplace’s policy for business attire. It certainly would have saved my pride, not to mention my reputation.

2. There is no grey area.

My organization’s dress code states that leggings are only appropriate when paired with a dress. I’m assuming this is to keep the halls free of lycra-covered posteriors, which I think we all can appreciate. While the long shirts and tunics I paired with my leggings definitely covered my behind, they technically aren’t dresses, and thus, a direct violation of my company’s guidelines.

The moral? When dealing with a professional dress code, it’s always best to err on the side of caution. Rules are rules, and they aren’t created to be broken. (Not even bent ever-so-slightly.)

3. Speak up if you see something.

While the legging intervention staged by my co-worker was about as comfortable as a six-inch pair of Louboutins, it was highly preferable when compared to the alternative—an official meeting with my supervisor or the HR department. I truly believe that most dress code violations are unintentional—who actually wants to be the person with the too-short skirt everyone whispers about in the bathroom? If you witness a dress code misdemeanor first-hand, it’s best to discretely say something. Such a delicate subject requires tact (possibly even courage), but more often than not, the offending colleague will appreciate a discreet, diplomatic reminder.

What dress code rule do you wish you could break? Tell us in the comments!

Ask Joanna Bloor, VP of Sales Operations and Advertising Operations at Pandora, about office fashions (or her amazing collection of shoe art)!