I suspect the problem could be using the Guitar part for both a RealTrack and Midi?

Perhaps you can find a multistyle to work. You can also assign RT or Midi to an unused part and used Bar settings to mute/unmute where the style changes.