In other words if our president does something illegal with regards to the election or over steps his legal authority the US supreme court has the legal authority to remove the president by force.
Not Constitutionally. Congress must impeach and the Senate convict. Once that is done the any law enforcement agency can remove him. Regardless, nothing in the Constitution gives the military the authority to remove an elected president for any reason. No matter how much the author would like to believe that.