Gambling firm is blocked from opening outlet after public health director’s intervention