The phrase "it has to be said" is used to introduce a statement or observation that the speaker believes is important, true, or noteworthy, especially when it might be unexpected or contrary to what has been discussed previously. It's a way of emphasizing the significance of what is about to be said. In the example you provided, "The result, it has to be said, is genuinely exciting," the speaker is emphasizing that the result is indeed exciting and wants to make sure that this observation is acknowledged or recognized by the listener.