Why we kept silent on the Chandler case
A couple of years ago, I wrote about the dilemmas we sometimes face when we know things we can't tell you.
Then it was about Prince Harry being in Afghanistan. Today - on the day his brother, Prince William, went to Afghanistan - it concerns Paul and Rachel Chandler, the British couple who spent more than a year kidnapped in Somalia.
In the early hours of this morning they were finally freed by their captors and were taken to Adado and then Mogadishu, before flying on to Nairobi to be handed over to UK diplomats. Over the past 12 months, there have been a number of stories about their health and the demands by their kidnappers for a ransom.
As I write, the details of the negotiations that led to their release are unclear.
But some months ago, the family of Paul and Rachel Chandler sought what is known as a "super-injunction", prohibiting the media from reporting any developments in their case.
Lawyers for the family argued that speculation about their health, about any possible ransom and on the negotiations about their release might prolong their captivity. The injunction was designed to protect the safety of the Chandlers - and prevented us from referring even to its existence.
Such were the fears for their safety - and so dangerous is Somalia - that the injunction set out two criteria that needed to be met before we could report the couple's release; first Paul and Rachel Chandler must have left Somalia, and second, they must be in the custody of Foreign Office officials.
The family, their lawyers, and observers in Somalia feared that the couple might be freed by their original captors, and then seized by others seeking further ransom for the Chandlers' release.
The BBC and other news organisations observed the injunction issued by the High Court.
While we're not in the business of censoring the news, no story is worth a life - we accepted the argument of the family, their lawyers and the judge that to do otherwise would jeopardise the safety of Paul and Rachel Chandler.
Some other news organisations did not - which is why, for some hours, during the Chandlers' dangerous journey through Somalia to the safety of Kenya, the BBC stayed silent while pictures of the couple could be seen elsewhere.
While it wasn't a comfortable position for us, or our audience, to be in, it was the law and a restriction put in place to try to ensure the safety of the Chandlers. Had we done otherwise, we would have been in contempt of court.
At its simplest, journalism is about telling people things they don't know - so it's always difficult for us not to report a story. But sometimes there are good reasons. There is no public interest in breaking the law, simply to claim a scoop.
Jon Williams is the BBC World News editor.