(1) A person who is obliged by operation of law to supervise a person requiring supervision because they are a minor or because of their mental or physical condition is liable to provide compensation for the damage that this person unlawfully causes to a third party. Liability in damages does not apply if they comply with their duty to supervise or if the damage would have been caused even in the case of proper conduct of supervision.
(2) The same responsibility applies to any person who assumes the task of supervision by contract.