I think something that has really helped me is differentiating singular occurrences from patterns.
If you're upset about what someone did once, you're labeled as petty, rigid, judgemental, too hung up on the past, etc.
The same might happen if it's multiple occurrences, but you can at least acknowledge that this is a PATTERN. If you've voiced your concerns and the pattern continues, all you can do is remove yourself. People can judge, but they can't make you continue to tolerate something that doesn't work for you.