Consider this sentence:
Yesterday I said to my friend "Excuse me to being late". When I said the sentence I realized that I have said / had said a wrong sentence to him!
However, the sentence occurs in the past, but I think that since he is reporting his feeling or though just after the saying maybe "have told" is possible.