Consider the 1936 Olympics. It was understood by the Nazi party that it was an opportunity to launder Germany's reputation on the world stage. That's part of the thinking behind these events: It's about mutual recognition and respect, but there are times when countries do not deserve respect, they deserve condemnation.
Which isn't to say that representatives themselves automatically deserve condemnation. Tommie Smith and John Carlos doing a black panther salute during the 1968 Olympics moment was a powerful moment, a signal that they did not intend to go up there and represent the institutional power of a country that had been weaponised against them. They reclaimed their victory not for America but for the civil rights movement.
Of course, the International Olympic Committee condemned their statement and wanted them to be suspended, despite having no issues at all with the Nazi salutes in the 1936 games. Shocked Pikachu.
Which is to say that if you're going up there wearing and glorifying the flag of a nation committing atrocious crimes and not pushing back on it, then, yes, you deserve condemnation. Absolutely. In small part, you are granting legitimacy to illegitimate acts.