That was the county where the shooting occurred (Ramsey). A local TV station has since confirmed that Castile had a CCW permit issued in Hennepin County.
None of Castiles charges or convictions involve guns, violence, threats against or fleeing police. Since he didnt have any felony convictions, he was eligible to apply for a permit to carry a weapon. Sources confirm that Castile had received a valid permit in Hennepin County.
Here is some information. The CCW permit part seems incorrect, but has photos:
https://theconservativetreehouse.com/2016/07/08/confirmed-philando-castile-was-an-armed-robbery-suspect-false-media-narrative-now-driving-cop-killings/