While Fernando Hierro scored 29 goals for Spain, a higher tally than Sergio Ramos's record, he is often not recognized as the top-scoring defender because a significant portion of his international goals were scored when he played in a midfield role.