Brazil is not the only country capable of producing perverse verdicts in a court of law. In fact in the good ol' USA and Canada too, we frequently see longstanding murder convictions overturned.
Here in Ontario, a long sequence of murder, manslaughter and criminal negligence convictions because of a rogue pathologist have been getting overturned one by one.
The pilots may overturn the verdict on appeal, but in the meantime, they would do well to avoid any country that has an extradition agreement with Brazil -- mind you, Brazil is not in the habit of making extradition agreements with other jurisdictions.