I had one project I was working on for a client where they thought they were super important and confidential (NVM they were neglecting all of the real security best practices). One of the things they decided is that as part of the project everyone would have to move a VDI solution in a different network and then everyone would have to do all their work from this network, in the name of security. The problem was I was only interacting with the cloud side of this project, working with the actual cloud public API, so everything I was working on was already public facing and didn't care about network concerns.
I ended up writing an email to the decision markers in the project outlining why "1) I didn't want a VDI 2) A VDI would take me forever to setup properly for my workflow anyway* 3) It would do nothing for the project's security to have me working on a VDI and 4) It would be a pain in the but trying to work on a VDI.
I was told that my objections were valid and true but I needed to work on a VDI anyway. It was at that moment I stopped caring about the project.
I did end up winning in the end however as when I finally agreed to do it (not my money the company was setting on fire) they asked me to send a list of what I'd need my VDI to be setup like. So I sent them a list of everything I'd need to mimic my current working environment and what I was doing now, including a Linux OS (The VDI solution was Windows only) with X11 and i3 setup. A full Doom Emacs configuration, special developer libraries and tooling, and several other items. With a long list of alternatives I would need installed if my first choice wasn't available, with specific versions, etc.
I sent off that email and they said they'd set me up with the desktop environment I need and let me know when it was finished being created. I am still waiting for that email letting me know it is setup, and happily working from my real machine until it does become available.
The moral of the story is sometimes the easiest way to thrawt management incompetence is to throw it reams of useless busy work that it will be festering away on while you can get real work done.