Williams-Sonoma has taken the early lead in a high-profile trademark battle with Amazon.com, but the two are still running almost neck-and-neck.

U.S. Magistrate Judge Elizabeth Laporte of the Northern District of California on Thursday turned away Amazon’s bid to dismiss Williams-Sonoma’s suit, which accuses Amazon of operating “a fake Williams-Sonoma website” on its platform, and using phrases like “Amazon official site” and “by Williams Sonoma” to trick consumers into believing Amazon is an authorized dealer.