It's certainly not illegal for a company to set criteria for which suppliers it will do business with: for example, "we'll only work with ISO9001 certified companies". Is this any different?
I'd be interested to hear more about why this practice is illegal in Brazil, especially as you say it could lead to a prison sentence (which seems odd for what should be a civil case). Is there case law or statute available for someone interested in such things to browse?