TWiT, LLC asked a California federal court to disqualify Twitter’s lawyers in a trademark dispute because their law firm learned confidential information while earlier representing TWiT.

TWiT alleges that Durie Tangri LLP obtained confidential information about it during a 2013 representation that could be used against it in TWiT’s current intellectual property case against Twitter, pending before the U.S. District Court for the Northern District of California.

The case may shed light on how courts hearing intellectual property disputes decide...