Polish troops and border guards with shields stopped migrants from crossing into the country