But that's not what you wrote. "Non-banana republic" can only be parsed as [non-banana] republic. You need to write "non-banana-republic" if you want to say non-[banana republix]. Better yet, use a less clumsy turn of phrase. Best of all: drop the remark entirely, it's pointless.
The vast majority of companies are not stupid enough to think it's "cute" to piss off a judge in a non-banana republic.