Gun sanctuary and immigrant sanctuary are completely different and the first (gun) cannot logically lead to the second (immigrant).
Gun sanctuary laws protect and enforce the Citizens right to posses guns from local and State attempts to limit that right.
Immigrant sanctuary laws violate Federal law and infringe on the Citizens right to lawful immigration policies.
IMHO these are two different issues and cannot be conflated.
But, as I understand it...there is this thing called “nullification.” If a county is a “Sanctuary” county for illegals, and it passes a “sanctuary” county for gun rights...then they cannot be challenged legally.