Pay your bills and be respectfull, dont be aggressive and you wont encounter this sort of trouble. Was it excessive, yes but most 3rd world countries are the same.
Rare incidences like this actually do create a better safe place in the long run. As tourists see this and think twice about being an a hole whilst there and tbh it seems to work, as the only other incidence it's compared to is the family in hua hin which was like 8 years ago.