(1) Where, under sections 106 and 107, a person is under a duty by virtue of an office, employment, agreement or undertaking, such a duty is sufficiently constituted with respect to the person who actually performs the functions in respect of that office or employment, or who is acting in that office or employment as if he or she were under such agreement or undertaking with respect to another person.