Part of 'competence' in a professional work setting has to do with getting along with other people, at least to the minimal extent necessary to get a job done. A 'competent jerk' is incompetent, in other words, at least when it comes to some aspects of the job.
If their job requires a lot of communication with other people, then they're definitely grossly incompetent. If their job can be done mostly in isolation, well, they're only minimally incompetent, and maybe that can be brought along, give them a thick-skinned assistant or manager and only have them talk to that person, etc.
However, it's probably easier to train people with poor social skills in the art of getting along with others in the workplace, then it is to train those with poor grasp of complex technologies to understand them, let alone in resolving difficult bugs or finding creative solutions to novel problems.
If their job requires a lot of communication with other people, then they're definitely grossly incompetent. If their job can be done mostly in isolation, well, they're only minimally incompetent, and maybe that can be brought along, give them a thick-skinned assistant or manager and only have them talk to that person, etc.
However, it's probably easier to train people with poor social skills in the art of getting along with others in the workplace, then it is to train those with poor grasp of complex technologies to understand them, let alone in resolving difficult bugs or finding creative solutions to novel problems.