Yes, and that is the primary reason I throw-away the ROI I could be making from my 800K baht, by paying an agent for a fraction of the incurred-losses. That said, they would have to show in-court an expat's knowledge that their agent-money was "paying a bribe," vs merely "sponsoring" their extension.
Also note, the Trump admin just "loosened" enforcement of this policy/law, because it was making "doing business" in places like Thailand, Africa, etc near-impossible, as their economic/govt systems are built upon corruption. Granted, such "leniency" will likely be reserved for billionaires, while the book could be thrown at us "peon" sucker-taxpayer citizens at any time - if only to keep some bureaucrat busy, who could otherwise be doing something useful for us (like providing sworn-affidavits of our income-statements).