Growing up, I always found this odd as well. Now I think when they say "ignorance is no excuse for breaking the law" what they actually mean is "just because you didn't know (perhaps because there was no way to know), we're still going to punish you".