General Provisions
Harm caused to someone, done in good faith for their benefit even without consent, isn't an offence if it's genuinely impossible to get their consent in time (or they can't consent and have no available guardian) - except for intentional/likely killing, non-curative acts known likely to cause death, or non-curative voluntary hurt (beyond preventing death/hurt).
This covers medical emergencies where getting consent first is genuinely impossible - like treating an unconscious accident victim - protecting good-faith emergency action taken for someone's benefit, within the same safety limits as Section 27's guardian-consent exception.
A surgeon who performs an emergency, life-saving operation on an unconscious patient with no time to obtain consent is protected under this section, provided the operation was genuinely for the patient's benefit and done in good faith.