Badenoch highlighted the Conservative record on education and called Labour's legislation "an act of vandalism".