That means you can't be discriminated against on the basis of your religion, not that you can discriminate against other people because of your religion though, right? Just like eg. being gay does not allow you to discriminate against black people.
I know it's more complicated in practice because the problem is political and other factors come into play.