when he cannot rule the municipality his substitute the deputy mayor takes his place