Notwithstanding the terms of any contract for transportation of pupils to and from school, or renewal thereof, entered into pursuant to this chapter, any board of education, in its discretion, with the approval of the county superintendent, may compensate any transportation contractor, in whole or in part, for any necessary expenditure made to comply with the provisions of any law enacted, or any rules and regulations promulgated pursuant to any law, after said contract was entered into.
N.J.S. § 18A:39-10