T hey put him in custody, because it was not certain or clear what should be done to him.
They put him under guard, because it had not been explained what should be done to him.