The council had unanimously refused planning permission for the development twice — but now it has been overruled