Non-profits can operate commercially as long as that business is consistent with their charitable business. I ran a non-profit science fiction magazine. We sold magazines at a profit, or at least tried to. The problem here is that the leadership of PIR transferred their assets in a way that appears to enrich the same.
They can, so long as commercially means operating at a surplus (keeping the profit to use later) rather than distributing profits (giving out the profit).