>>45280264When it's specifically an event that happens in postgame that isn't part of any special story scenario that serves to build upon the original campaign's narrative, they leave it ambiguous as to whether or not the event actually happened.
Johto Protagonist beating Red, Alola Protagonist beating Red, anyone partaking in and defeating Red in the PWT, none of it's confirmed to have actually happened, but at the same time, none of it's confirmed to have never happened.
Until GameFreak or The Pokemon Company clarify for us, we're forced to assume for ourselves.