17 The issues in paras 1 to 8 arise from the fact that the Council has not proceeded according to law when dealing with the development application by NDC. If a person applies for development consent, he is entitled to expect that the relevant planning authority will act according to law in dealing with it. Generally speaking, if a planning authority does not deal with a planning application according to law, the authority must bear whatever costs are incurred by a plaintiff who successfully applies to set aside the development consent. That principle will, of course, require qualification according to circumstances, particularly in those cases where the developer itself presents argument seeking to uphold the grant of development consent. This was not such a case. In this case NDC has been prepared to abide the orders of the court and has not, in any sense, prolonged the conduct of the hearing in relation to the issues in paras 1 to 8. Having regard to all those circumstances, I think there is no alternative but that the Council must bear the plaintiffs' costs of these proceedings in relation to the issues in paras 1 to 8 in the summons.