 On 27 July , the Junta de Fiscales de Sala – a body within the Public Prosecutor 's Corp that advises the Minister of Justice 's office – issued an opinion that LGBT Spaniards can marry foreigners from countries that do not permit same @-@ sex marriage . This marriage would be valid according to Spanish law , but did not imply automatic validity according to the foreigner 's national law . A ruling published in the Official State Bulletin stated : 
