You confused OP by saying "it is in the middle schools", which made him believe we have middle schools and high schools (#16) which is not the case. I'm trying to accomplish less confusion.
No, I'm not contradicting myself. We DON'T have those types of schools. Folkeskolen is only a mixture of them in theory, not in reality. In reality high school would have lasted until a later age than those that graduate from 9th.
We used to have "mellemskoler" and "realskoler" back in the early 20th century, which was the equivalent of middle school and high school, but they were reformed back in the 50s/60s.. that's quite a while ago.
To add on top of this, as far as I understand we have sexual education both in the middle grades and later grades, which makes it even less correct.