Indiana has apparently had the first legal test (on appeal) of its “Castle Doctrine Against The Cops” law, and the castle won. Keep in mind that this may not be the same as any other castle law, and that presumably the public servant was committing a criminal entry.
http://www.in.gov/judiciary/opinions/pdf/03111501ewn.pdf