Whenever any permanent or probationary employee of a high school district is employed by a community college district pursuant to Section 87462 or 87464 such employee shall be entitled to retain all sickness and injury, sabbatical and other leave rights accumulated by service prior to such employment and the district shall recognize and grant such rights, including any accumulated rights allowed by the governing board of the high school district, as fully as if there was no change in the community college district.