It is more or less universally recognized that jokes are only funny if they are punching upwards. Someone in a position of power making jokes about using that power against someone with less power is more akin to bullying.
Most of the Evil in This World Is Done by People with Good Intentions - https://quoteinvestigator.com/2019/12/19/intentions/
I would argue that breeding camaraderie requires empathy and understanding with other person as opposed to blindly projecting one’s sense of humor upon another.
This is getting strangely personal. If you are joking, well done on the subtlety!