detention and denial of entry