This happens to private companies all the time. They oftentimes are not so bad and you can get along. If they are jerks, you leave.
It happens even for public companies, but those people usually don’t last too long. If you find yourself in an organization where absurdity continues to prevail even after leadership changes, leave that place as soon as possible. It won’t get better.