PersonX derives PersonY's powers from the consent
PersonY fired PersonX due to PersonX's incompetence. PersonY gave a restraining order towards PersonX PersonY demoted PersonX and now PersonX has no authority.