Beer sales for on premises consumption isn't regulated by the state. It is regulated by the county or city beer boards. Thus, beer (only) joints do not have to meet the statedefinition of restaurant to serve unless the local beer board says so.
PITA, but what are you going to do? (you in general, not you TF16)
Now, if you are in a place where firearms are banned, and you have to use your weapon in self defense, you can't be prosecuted for having a weapon in a banned location if your self defense was justified.