The U.S. Supreme Court handed a win to Starbucks on Thursday in a labor case involving seven fired baristas who had been engaged in a campaign to unionize their coffee shop in Memphis, Tennessee.

In an 8-1 vote, the high court vacated a recent court of appeals ruling upholding a temporary injunction against the national coffee chain over alleged labor law violations. That injunction ordered Starbucks to reinstate the fired employees, post copies of the court’s order in the store and provide an affidavit from a Starbucks manager describing the store’s compliance.