How to justify Tyland Lannister's torture

As many of you know, House of Dragons has tried hard to show the Blacks as the good and legitimate ones and the Greens as the evil usurpers, but I have a question about how exactly they will justify torturing Tyland Lannister after Rhaenyra takes King's Landing so that they continue to make her look like the good guy in the story.

I mean they literally castrated, blinded and mutilated Tyland and considering that in the show they made it so that it was Tyland who brought the Triarchy fleet that he took to the battle in which Jace died, it all seems more like a sadistic act of revenge than making Tyland confess where the Targaryen money is.

So I'm asking you how you think you can justify torture so that Rhaenyra still looks like the good guy. (I assure you that the writers will find a way but I would like to see all the possible scenarios and when the third season comes out see if any of them are right.)