If a judge issues an order later determined to be illegal, and you are arrested based on that order, are you able to sue the judge?
You could sue for false arrest but the judge may have immunity and you would have to prove intentional or malicious conduct, which is usually very difficult to do. And practically speaking, I don't think there's any way in hell you'd get a fair trial. Juries are very police biased. Finally, keep in mind that the standard for probable cause to arrest or for a search warrant is pretty low.
I'll let you know what Atty #2 says as soon as they get back to me.