You are correct in that the local court(represented by the Sheriff’s Office) is top law dog when it comes to issuing concealed carry permits. Federal Agents, however, are not required to obtain permits from the local Sheriff carry concealed.
My understanding is that if they are ‘stationed in his County’, they are required to get his endorsement.