The scheme was given approval by a planning inspector