No good deed goes unpunished.
In some places being pro gun is thought of as a crime. Admitting the statement in as evidence would be irrelevant and unduly prejudicial, but that will depend on the politics of the judge. It’s not just about the law anymore.