Interesting case to read about.
OP did not want to settle and went to court. Lost, but had the opportunity to do community service instead of paying a fine. Shop owner and OP were within their rights.
In Taiwan stealing is extremely frowned upon. Such a reaction from a store owner can be expected. Especially if this happens to them on a regular basis.
Some shop owners get so frustrated with stealing of their merchandise they create a YouTube Channel.