No where did i mentioned spilling of oil it's just an example if an energy company doesn't want to cooperate with the government it's perfectly legitimate to order your energy sector to stop importing oil from them this happens quite often. Same goes for websites that violate laws like copyright which are blocked by ISP's.
The Brazilian government has no power over WhatsApp and WhatsApp knows this very well this is why they've utterly ignored them, this isn't some civil rights issue WhatsApp cooperates with US and EU countries all the time this is they CBA because it's Brazil.
And lastly Brazil was part of the 3rd world during the Cold War and is a member of the Non-Aligned Movement so it's really not a western country.