A New York City judge on Thursday dismissed a claim by Donald Trump’s brother that sought to halt the publication of a tell-all book by the president’s niece, saying the court lacked jurisdiction in the case.

Surrogates Court Judge Peter Kelly said the claims were not appropriate for his court, where disputes over estate matters are settled.

The motion filed earlier this week sought an injunction to prevent Mary Trump and the book’s publisher, Simon & Schuster, from releasing it, as scheduled, in July.