Judge rules for Nixon Peabody in TWF battle