An Bord Pleanála’s view of its obligations under county development plan ‘conveniently Jesuitical’, says judge