It was a really shitty thing to do to a good tenant without notice this would happen. I can't even imagine doing that. (Actually, I think it violates the lease about not going onto the property without notice.)
I feel for you with the SWAT team. We had new tenants move into a place. About six months into them living there we get a hysterical phone call from the female tenant that the cops just broke into their house, jimmied out the security screen, kicked in the door, basically ruined the door frames. Scared the living SHIT out of the tenants inside. And now their house could not be secured because all doors/frames were broken.
Turns out the cops were going after someone who was on a probation violation and had used that address as his address a year or two prior (the old tenants did know this person, but that person was never a legal tenant there.) The cops would not pay for the damage and said they could not call and check with us ahead of time for fear we would tip the person they were looking for off. We raised a little hell about that with our contacts there (like, oh, maybe do some surveillance to see who lives there now?). Kinda made me want to check with parole/probation boards and make sure no one is using my address as a decoy.