Brazil is a sovereign country and they are free to define their legal system any way they want. Facebook needs to comply with Brazilian law, not the other way around.
If you do something illegal you should expect punishment from the law sooner or later.