The admitted right of a government to prevent the influx of elements hostile to its internal peace and security may not be questioned, even where there is not treaty stipulation on the subject.