There is a distinction between a detainee and an accused