Section 276. Consent of the aggrieved person

The penalties pursuant to sections 271, 272, 273 and 274, first paragraph, do not apply when the person at whom the act was directed consented.
If a person has been killed or subjected to considerable harm to his/her body or health with his/her consent, the penalty for the perpetrator may be set lower than the minimum penalty or to a milder penalty type than the penalty specified in sections 275 or 274, second paragraph.