Constitution of the Kingdom of Spain

Land
Spain

Section 30(1) Citizens have the right and the duty to defend Spain. (2) The law shall determine the military obligations of Spaniards and shall regulate, with all due guarantees, conscientious objection as well as other grounds for exemption from compulsory military service; it may also, when appropriate, impose a community service in place of military service. (...)

Section 161. Freedom of ideology, religion and worship of individuals and communities is guaranteed, with no other restriction on their expression than may be necessary to maintain public order as protected by law.2. No one may be compelled to make statements regarding his or her ideology, religion or beliefs. 3. No religion shall have a state character. The public authorities shall take into account the religious beliefs of Spanish society and shall consequently maintain appropriate cooperation relations with the Catholic Church and other confessions.