You are talking about two different things here.
Will answers both things, consider I am an Atheist
1) Its ok with me, that religion is a part of the teaching plan. But people should be free to attend that class,
and also, there then must be a Cathilic, Christian, Muslim, etc....class for those.
In Europa school system that is normal life at schools. I simply did not attend the religion class as an Atheist.
2) That religion is taught on schools, has nothing to do if the school is "safe" ANY school should be safe, regardless what they teach there.
In my humble oppinion, religion is not at all usefull nor helpfull for our modern society, and I want religion banned. why ? Do you read newspapers ? A 23 year old guy wanted to blow up that plane wtith his underwear, and the reason was he was an extremist Muslim, he believes that with blowing up a plane he is a Hero for his Allah and going to heaven, he wants that Islams rules the world, he wants to kill people who do not believe in Islam.
and many are like him. Religion makes people kill others, because of religion.