in Israel you pick your religion, and it manages such things as marriage and birth certificates for you. The religion does not have to be Judaism. I do not know how do atheists deal with this system, nor do I know what happens with interreligious mariages.
Can bluke clarify?