I agree. That said, it depends on this guy's house/ranch. If the odds of a random discovery are low, shovel and shut up.
I've had a black bear come into the kitchen window, almost making it into the house before my wife ran it off. If one ever does make it inside and I kill it, I will have the same dilemma. If I can just remove the carcass and go about my business I will. If enough attention was attracted it's going to cost me a lot of money for simply defending my home and that disgusts me.
It depends where you are and the local authorities.
I'd be surprised if you got in trouble anywhere if you shoot a bear that is inside your house. A prosecutor would know that even the dumbest jury ever impaneled would recognize that a bear in a house would reasonably be seen as threat worthy of self-defense actions. While a black bear isn't normally aggressive, one that perceives itself as being cornered is perfectly capable of inflicting lethal wounds.