Beijing, on Hong Kong, says no country would let separatists endanger security