Same in many EU countries. Poland and Germany are two examples.
For example if someone robs you (or do worse things to you) and you call them out publicly you can be liable if you can't prove it happened.
In practice the law defends the offenders. You can't speak up if you don't have a hard proof. I think it's ridiculous but so is a lot of civil law. Americans often don't appreciate how well they have it in comparison.