We don't have Grizzlies, we have black bear so not sure the same holds true but fish and game shoot anything that encroaches on human space.
Breaking into a restaurant is grounds for shooting. My understanding and from what I have seen of bears in my back yard is, once they feed or shelter in an area, they come back for YEARS to the same area.
Two first hand cases in point:
When we first came here an knew nothing of bears, we put our garbage cans outside. Long story short a bear got to them and we started storing them inside. Same bear came back for three years running looking for food that was no longer there . . . . we were on his circuit and it took years to get taken off the list.
Second: neighbor left smelly garbage in her garage with door open in the summer. Bear walked in and helped himself. Her dogs scared him off and fish and game told her to be real careful because he'd be back.
He came back when she was away; ripped their garage door off and helped himself. Dogs hurt themselves trying to get out of their crates and at the bear. Fish and game tracked and destroyed the bear (can't have bears killing humans, be good for the bear hunt sentiment which they don't want.)
So, long story short, my guess is shooting it was a good idea.