Whenever there is a final judgment of a competent tribunal declaring any election or appointment void, or any office vacated, such judgment shall promptly be certified by the clerk to the appointing power or power whose duty it is to take steps to fill the vacancy.