(I am having a No True Scotsman[1] kind of a reaction to this phrase, with a side serving of Kafka[2].)
Their lawyers answering the judge's court order are from this american firm: https://www.zwillgen.com/
That's not how the internet works.
That means that it is not universal or obvious that this kind of blocking would be practiced or accepted. (For example, if a Brazilian company ignored a subpoena from a U.S. court, there would not be a legal basis for the U.S. court to order ISPs to prevent Americans from accessing that company's services.)
Some portion of Brazilians think it is "obvious" that a government would never allow its citizens to access Internet services that allow or commit violations of local law, or are simply not subject to local jurisdiction at all. But it's not obvious at all.
"Out of spite" is ridiculous indeed, but I sustain my guess that if a proper brazilian lawyer had addressed the case, no block would ever be ordered.