https://www.policeone.com/legal/articles/5827610-The-Castle-Doctrine-and
This article is about the Castle Doctrine in Indiana, and states that there is still a common law exception for police to enter a ‘castle’ if the fact warrant it, and points out that even if the law existed in its current version, the police in the Barnes case could have overcome it because a second homeowner, the wife, ‘invited’ them in with her 911 call for help.
I could not find any cases where the new law has been tested. I would not want to be the one who fired at a police officer and relied on the law that he had no right to be in my home if I knew it was a cop.