One fix could be to give managers a title that is of lower rank than an engineer e.g. a manager’s official title should be “support” and ensure that every part of their role is about supporting the engineers they are responsible to.
I've heard that if you abuse the dog, you can get charged with assaulting a superior officer.