They should have let him in and then shot him as a spy.
Close, but no cigar: Should’ve let him in, then not let him out.