If you are a fan of wearing leggings, you might want to think twice about catching a flight via United Airlines.

Or should you?

According to CBC Newstwo teenage girls wearing the pants were barred from boarding a United Airlines flight Sunday for not meeting the dress code for special pass travelers.

A spokesperson for the airline said the ladies wouldn’t have been turned away had they been paying customers.

“[The girls] were instructed that they couldn’t board until they corrected their outfit. They were fine with it and completely understood,” United Airlines Spokesman, Jonathan Guerin, said.

The girls were reportedly traveling under the airline’s special employee travel pass. Since the girls were not paying customers, they were seen as representatives of United Airlines. With that type of perk comes a dress code, according to the airline.

As a result of the incident, the two girls, along with a third passenger who was traveling with them, missed their flight. The passengers reportedly hopped on another flight without incident.

The passengers may not have complained about their treatment, but onlooker Shannon Watts overheard the discussion. She took to Twitter to describe a policy she viewed as unfairly targeting women and girls.

“This behavior is sexist and sexualizes young girls,” Watts said on Twitter. “Not to mention that the families were mortified and inconvenienced.”

In fact, many took to the social media outlet to voice their opposition to the airline’s policy.

“I have flown United before with literally no pants on. Just a top as a dress. Next time I will wear only jeans and a scarf,” model Chrissy Teigen tweeted.