"Under the DOD Reorganization Act, the Secretaries of the Military Departments assign all forces to combatant commands except those assigned to carry out the mission of the Services, i.e., recruit, organize, supply, equip, train, service, mobilize, demobilize, administer and maintain their respective forces. The chain of command to these combatant commands runs from the President to the Secretary of Defense directly to the commander of the combatant command."
"Planning; Advice; Policy Formulation.
Subject to the authority, direction, and control of the President and the Secretary of Defense, the Chairman of the Joint Chiefs of Staff shall be responsible for the following:"
Chairman: Appointment; Grade and Rank
There is a Chairman of the Joint Chiefs of Staff, appointed by the President, by and with the advice and consent of the Senate, from the officers of the regular components of the armed forces. The Chairman serves at the pleasure of the Presiden t for a term of two years,"
Vice Chairman
There is a Vice Chairman of the Joint Chiefs of Staff, appointed by the President, by and with the advice and consent of the Senate...The Vice Chairman serves at the pleasure of the President for a term of two years"
Joint Staff
"Officers of the armed forces (other than the Coast Guard) assigned to serve on the Joint Staff shall be selected by the Chairman"
http://www.jcs.mil/page.aspx?id=29
If there is no President, because he is a usurper, he can not appoint a Chairman (nor Vice Chairman) of the Joint Chiefs of Staff. If ther is no legally appointed and confirmed Chairman of the Joint Chiefs of Staff, there is no legally selected Joint Staff.
The judge has just ruled that the military chain of command STOPS in the Pentagon.
That means that legally Pentagon high command can issue a lawful order to arrest the president...