In a 7-0 opinion, the court decided that state lawmakers alone have the authority to impose such taxes on online auction sites, according to documents obtained by the Chicago Sun-Times.

“The city has overstepped its home rule authority,” Justice Mary Jane Theis wrote. “We conclude that the state has a greater interest than any municipality in regulating this emerging business model and protecting consumers.”

While reps for StubHub praised the decision, the city said in a statement that the court had “failed to recognize the important interest local governments have in raising revenue to fund essential city services, including providing police, fire and traffic management services at the amusement venues for which tickets are sold and resold.”