The closest analogous scenario: there are pretty strict ethical rules against e.g. professors offering extra help to students in exchange for labor. Doing so would probably be grounds for inquiry and possible dismissal, even from a tenure position. I realize it's not exactly the same scenario, but it's probably as close as you can get where there are codified rules.