Police officer claims sex was initiated by detainee