This is the answer to most of professional life. Unionize! If you don't manage people, join a union. If you think where you work is fine so you don't need a union, that's when you need one, before something like this happens.
I manage people and am in a Union. I still have a boss, and in a dispute I was able to call on their help
I manage people and am in a Union. I still have a boss, and in a dispute I was able to call on their help