Starbucks shares are rallying in extended trading following a series of favorable legal developments earlier this week. A federal appeals court recently narrowed an anti-unionization case brought by the National Labor Relations Board, and a separate ruling confirmed that the company's dress code policies did not violate labor rights in New York. These legal victories, combined with positive sentiment regarding the company's ongoing turnaround and recent debt paydown of 1.8 billion dollars, appear to be driving investor optimism despite the broader restaurant sector facing mild pressure during the regular session.