Even having a visa does not guarantee that somebody can enter ah ost country. The border crossing authorities make the final determination to allow entry, and may even cancel a visa at the border if the alien cannot demonstrate to their satisfaction that they will abide by the status their visa grants them.