Generating MIDI messages within a VST plugin and passing them to the host

Does it have something to do with the macro JUCE_VST3_EMULATE_MIDI_CC_WITH_PARAMETERS:

This is because of the lack of support for LegacyMIDICCOutEvent, as I mentioned before: