How did you join the realm?
Changing allegiance (swearing fealty to a new lord), will, I believe, not ever give you an autoban.
If you join a realm your original realms is at war with, it really should. You are, after all, betraying everything, your realm and your word to your liege. At the very least, the judge should have an option to enact a ban on such a person.