The Council needs to officially create a pavement parking restriction (or if it's in London/Scotland, officially remove the default one), and they also need to install and maintain signage and road markings that adequately conveys the official restriction to the motorist.
You can fight and win PCNs if the council messes up either the documentation or signage part, and also (briefly) if there's a reasonable expectation of non-enforcement.