The cops and the judge will be sued, and they will lose.
Can a judge be sued? I hope so. I kind of feel sorry for LE put in the middle though. They lose either way. If they know the constitution and stand their ground they could lose their job. If they don't know and remove people they can get sued.