§ 2041. Trustees or boards of education may contract to receive such children. The trustees or board of education of any district or city may enter into a contract to receive and educate in the schools of such district or city the children of any district which shall authorize its trustees or board of education to contract for the education of its children as provided by section two thousand thirty of this chapter.