Thank you for the question. This is not a specific law, it will vary from each local authority. If you do not agree with the decision that a has been made you can ask for an appeal and explanation as to they this has been decided (i.e. any bylaws etc.). If you do not succeed at appeal, and you feel the law has been incorrectly applied you could potentially look at a Judicial Review on the matter. You can of course object to the planning permission in the first instance.
I shall provide you with a helpful link that will assist you in finding a solicitor/representative near your local area. This will provide you with someone nearby your area who can assist you if required.
I hope this information proved helpful. You will find a local solicitor who deals with these matters on the law society webpage which is as follows;
https://solicitors.lawsociety.org.uk/ (England)
https://www.lawscot.org.uk/find-a-solicitor/ (Scotland)
https://www.lawsociety.ie/Find-a-Solicitor/Solicitor-Firm-Search/ (Ireland)
https://www.lawsoc-ni.org/solicitors (N. Ireland)
Hopefully, I have answered your query in a way that is simple and easy to understand. If anything remains unclear, I will be more than happy to clarify it for you. In the meantime, thank you once again for using our services.
Should you require any further assistance on this matter, please do not hesitate to post a further questions for additional assistance.
Kindest Regards.