Local authorities must follow their own enforcement policies and cannot depart from them without good reason. Usually this will require the written approval of a senior manager as well. Where they do not do so then it is possible to stop prosecutions on the basis that they are an abuse of process.
An interesting article about local authority duties when determining whether a prosecution is the most suitable course of action. Well worth the quick read.
Source Anthony Gold Solicitors