The first possible scenario is this: suppose you work in a company, and you need to install some software for a client. The software needs to be purchased, but the boss tells you to just download it for free illegally (infringing copyright). You tell your boss that of course that's illegal and it's not the best way to do the job, but they tell you: "I know, but who cares, just download it for free". If you did it, who would be responsible for the illegal download in this situation? If you are responsible, how should you deal with such a situation?
The second possible scenario is this: suppose you are a freelance software developer, and your client asks you to install a thing for them. They give you a link to an unofficial website where you can download the stuff for free (illegally). You tell them it's illegal, and the stuff should be purchased. They tell you: "Who cares, I'm not going to spend any money for purchasing it, your job is just to do exactly what I've told you, that is, just install it, and that's it". Again who would be responsible and how should you deal with this situation? Of course here there's always the option to not accept the job since you are a freelancer, but I also wonder if there are other options in theory. For example, maybe the client could download the software illegally themself, and then only give it to you for the installation?
Location of the scenarios: United States and European Union.