The question is whether you must have functional competence in a specialty in order to manage projects in that area. This is the well-known "subject-matter expertise," which is possessed by subject-matter experts, or SMEs. Can a non-SME manage a technical project, or a construction project, or a whatever project?
More over-simply, the choice is seen as between management skill and subject-matter skill. Which is better?