Through consent. The guy probably either has terminal illness and is happy to contribute to research or is completely paralysed, that an operation like this could benefit both parties.
It’s an agreement and I’m sure the risks are expressed to the individual.
WorthABuy is fantastically cynical