Context of this question is under the current version of the Long War mod (b15f).
If at the soldier selection screen of a base defense mission, the player selects multiple officers, the highest ranking officer will be denoted as "Commanding Officer" (or similar wording).
On a normal mission, the commanding officer would be the only soldier with the command ability available during the mission. In this case, it is not guaranteed that the commanding officer will be selected (as 6 of the 12 will be chosen randomly).
If the soldier marked as commanding does not get selected, and one of the other officers does, will the active officer soldier have command available during the base defense mission?