LONDON — Britain’s Supreme Court has ruled that a pianist may publish a memoir detailing sexual abuse he suffered as a child, despite his ex-wife’s privacy concerns.

The court sided with John Rhodes and lifted a lower court’s injunction that had prevented his book from being published.

His ex-wife had argued that their 12-year-old son suffers from a number of health issues and could be caused serious harm by the publication. The Court of Appeal granted her request for a temporary injunction in October.

The 40-year-old Rhodes is an accomplished classical pianist who has spoken in the past of the impact childhood sexual abuse has had on his life.

Supported by his friend, actor Benedict Cumberbatch, outside the court, he called the ruling “a victory for freedom of speech.”

He said that if the Supreme Court had allowed the injunction to stand, others could have used similar tactics to prevent publication.

“We do not ban books in this country,” he said, adding that by telling his story of sexual abuse he encouraging other victims to “tell someone” rather than hide the truth.