Didn’t the ancients define “sophistry” as (in part) exactly the kind of writing one does when influence is more important than truth?
It might be that it’s hard to create sophistry accidentally in one’s writing, but it’s certainly a possible - and common - trick.
The danger is when you convince yourself that what you’re writing isn’t sophistry… because - after all - it looks good.