text: You can't.  But if you know that they were there or tried to be for the purpose of joining an entity that has declared war on the UK, you should be able to hold them in captivity until such time as the war ends or you are convinced that they pose no threat .