Why are you meaning that replaygain is the trouble maker in this case? Standard settings of replaygain prevent soft clipping, cause the settings normally decreasing the peaks. ..
As replaygain seems to be not corrrectly implemented. I had lots of clipping with replaygain on which were gone when disableing replaygain.