The former DUP leader read extracts of the letter to the court when he was in the witness box on Thursday