The idea is presumably that you would "sell" at an artificially low price.
Which is illegal if you do it for tax evasion.
and legal if you’re just helping your buddy out
Not sure if the tax office agrees.