Earlier quoted context omitted.
Does WhatsApp have any physical presence in Brazil? Did they incorporate any subsidiary there?
I don't know, but for the sake of argument, I think it's OK to say no. If I have a website that is reachable on the internet that hosts a wiki and logs access, does that mean I am doing business in all countries that have internet access? Can any of their courts compel me to disclose visitors from their country? What if I refuse to provide visitor logs, is it OK for them to block my site at the border? What about to…
That depends exclusively on the laws of the country in question, not on the laws of the country the offender is based on. That's what a sovereign state does, it determines its own rules.