Granting the abdication example for the sake of the analogy, it still does not prove what you need it to prove.
If the king publicly renounces the Constitution and abdicates, then the vacancy is created by the king’s own act. The judge, in your example, is not removing a sitting king. He is...