The officer allegedly demanded the release of two of the detainees, claiming they were his relatives