A defamation claim brought by an embattled judge against a residential neighbor has been dismissed with prejudice.