This is exactly what happened to one American, who goes by Wesley Barnes, wrote a one-star review on TripAdvisor about a recent restaurant experience, was jailed over a defamation lawsuit filed by the owner, according to The Jakarta Post.
The resort/restaurant manager, Tom Storup, immediately responded to Barnes' review. Here's the response:
We are sad to see that you have decided to post 2 negative reviews (the first one removed by Tripadvisor for violating their review guidelines) with the only purpose to defame our Food & Beverage Manager and the resort. We are certain, however, that everyone that reads and compares your review to that of all our other guests will see that your comments are far from the truth. We think it is very unfair for that you have chosen to try to give a very negative image of our wonderful resort and our very friendly staff so we would like to shed some light on what made you go this far... - Tom Storup, Rooms Division Manager at Sea View Resort & Spa, Kah Chang