Court dismisses application for judicial review in planning dispute