Write that story like how the japanese authors write their wholesome love stories.
Boy meets girl, they talk and bond together, some NTR guy shows up and boy saves girl. Both fall in love. The end.
It got romance, it got happy ending and hell, it even has chivalry. Just don't think up a hentai...