"It is straightforwardly illegal to decompile source code, recompile it, and the distribute the recompiled binary."
According to what? If the rules are so poorly defined that way then maybe it's not a bad thing to disregard them. Because simply decompiling source code and then recompiling it isn't a simple one-step thing in the way you suggest, not even close.