I'm thinking of an illegal carrier who loses his presumption because he is committing a crime at the time force is used, and then a jury decides his belief is unreasonable. Or, an illegal carrier loses his right to "stand his ground" because he is committing a crime at the time force is used and a jury decides he should have retreated. Unlikely but possible, according to my understanding.
I'll do some digging. I don't see how you could lose your right to stand your ground because you're committing an unrelated crime. The way Castle is set up, you have the right to stand your ground in any place you have the right to be as long as you aren't the aggressor.