At chess.com after things heated up in Ukraine - players with Russian flags had them removed with that bluish gray rectangle. If you mouse over it - you get that message a link to this - On The Invasion Of Ukraine.
As you can see - despite Israeli's genocide and ethnic cleansing in Gaza the Israel flag has no limitations and there's no link.
---
The blue diamond shows each of them has a paid account so they can change their flag if they want to. If you have a free account (like me) - you can't change your flag. I'm stuck with the American flag unless I pony up for a paid account.
When I had a paid chess account I just used the International flag. Had some funny interactions with people thinking I was a Russian or Chinese trying to hide my identity.
People take flags so damn seriously. I'd use the international flag if I could.