Notwithstanding the provisions of Section 45041 or any other provision of law to the contrary, if a person is employed by a school district in a position requiring certification qualifications at the beginning of the second semester of a school year for services during that semester, the compensation of such employee shall be not less than one-half of the annual compensation for that position.