actually, I just realized that there are some countries whose work laws do not allow firing on the basis of "shoddy work". but would totally allow firing for outsourcing your own job, on the basis of trust violation, trade secrets access from unauthorized people, and stuff like that.