The philosophy of this nation is such that the last live American would be sworn in if there was a judge to do so. Command always devolves to the next in line and every single one of us is in that line. Native born following natural born and naturalized following them.
And no! that is not codified in the law.
Do you pay attention to the words you type? The LAST LIVE AMERICAN would be sworn in? By whom?