Sir John Thomas sitting at the High Court ruled that the two men were in breach of the injunction and therefore in contempt of court.
Reflecting on the "gravity" of their offence he said they would be given nine months imprisonment but because of mitigating circumstances it would be suspended.
More top news
George Orwell's Nineteen Eighty-Four is at the top of teachers' list of books "every student should read before leaving secondary school".
Film director Guy Richie marries his long-term partner Jacqui Ainsley at their country home in Wiltshire.
We'll have to wait until the weekend but by then it will be warming up.