The party who revokes his representative must immediately either provide for his replacement or inform the judge and the opposing party of his intention to defend himself if the law so permits, failing which his opponent is entitled to continue the proceedings and obtain judgment while continuing to know only the revoked representative.