Where there is a written undertaking between a user or lessor and a lessee whereby the responsibility for an electrical installation has been transferred to the lessee, the lessee shall be responsible for that installation as if he or she were the user or lessor.