There is a subtext to that plot that got lost. I think that Margery thought that if Loras confessed, he's be spared punishment, but still be able to be a Tyrell. Her coming up to the High Sparrow afterwards suggests that he either broke his promise or she misunderstood her. But I was expecting Margery to get her…