"Without sovereign immunity, a judge, police officer or other officer of the government or court might be afraid to act out of fear of legal repercussions." . . . . . .