Satanic control of the courts is mentioned in the Bible, but I cannot remember the chapter.
It's in Ecclesiastes 3:16. Solomon noticed that there's evil in the courts. And the places of worship.