WASHINGTON (KRON/CNN) — The Supreme Court on Monday ruled in favor of a Muslim woman who sued retailer Abercrombie & Fitch which had refused to hire her because she wore a head scarf.

The court ruled 8-1 that the company failed to accommodate Samantha Elauf’s religious needs when she was not hired on the basis that her hijab violated company dress policy. Justice Clarence Thomas dissented with part of the ruling but concurred with the rest.

“This is really easy,” Justice Antonin Scalia said in announcing the decision.

Scalia said the company at least suspected that the Elauf wore the head scarf for religious reasons. He said that the decision not to hire the applicant was motivated by a desire to avoid accommodating her religious practice. He concluded that was enough to allow her to sue under a federal employment discrimination law. The high court sent the case back to the lower court for further consideration.

“An applicant need show only that his need for an accommodation was a motivating factor in the employer’s decision, not that the employer had knowledge of his need,” Justice Antonin Scalia wrote for the majority.

The retailer had argued that Elauf couldn’t succeed without first showing that the employer had “actual knowledge” of her need for a religious accommodation.

This isn’t first time Abercrombie has been in a headscarf-related lawsuit. In 2008, a Bay Area woman claimed that a manager at Abercrombie’s Milpitas location didn’t hire her because of her headscarf. And Umme-Hani Khan, who worked at one of the company’s Hollister stores in San Francisco, was fired in 2010 after a district manager visiting her store ordered her to remove her hijab.

After Abercrombie settled both of those cases in 2013, it changed its Look Policy to allow employees to wear headscarves.

This latest lawsuit stems from a controversy that began in 2008 when then 17-year-old Samantah Elauf sought a job with the retailer. Prior to the interview, Elauf was nervous she might not be hired because of the black headscarf that she wears for religious reasons. She interviewed with assistant manager Heather Cooke, however, and although she was told that the company’s “look policy” meant she shouldn’t wear a lot of make up, black clothing or nail polish, her head scarf never came up.

But after the interview Cooke sought approval from her district manager. She said she told the manager that she assumed Elauf was Muslim and figured she wore the head scarf for religious reasons. The manager said Elauf shouldn’t be hired because the scarf was inconsistent with the look policy that bans head gear.

A federal agency, the Equal Employment Opportunity Commission sued on Elauf’s behalf. After arguments, P. David Lopez, EEOC General Counsel issued a statement saying,” Monday’s case is the latest effort to ensure all persons protected by Title VII are not placed in the difficult position of choosing between adherence to one’s faith and a job.”

In court lawyers for the government argued that it was not Elauf’s obligation to give direct notice that she needed an accommodation.

“Knowledge of the need for an accommodation requires an understanding not simply of an applicant’s religious practices but also of company policies,” wrote Solicitor General Donald B. Verrilli Jr. in court papers. “The employer almost uniformly has knowledge of the latter,” he said.

But lawyers for Abercrombie countered that over the years applicants have requested accommodations and the company has granted them.

“Here, Elauf never identified her headscarf as religious, nor did Abercrombie have actual knowledge of that fact from any other source,” wrote Shay Dvoretzky, a lawyer for the retailer. In court he argued, “What we want to avoid is a rule that leads employers, in order to avoid liability, to start stereotyping about whether they think, guess or suspect that somebody is doing something for religious regions.”