(Reuters) - The World Anti-Doping Agency (WADA) declared Spain and Mexico non-compliant with its code on Saturday after both failed to meet a March 18 deadline for implementing new rules.
The agency recognized in a statement, however, that the Spanish national anti-doping organization had faced particular difficulties due to the lack of a sitting government in Madrid.
It said that an agreement was being reached for testing to be carried out by international sports federations while the country remained non-compliant.
"This will ensure that effective testing programs can be run in the lead-up to the (Rio) Olympic and Paralympic Games," added WADA.
Regarding Mexico, WADA acknowledged government efforts and said it was "hopeful that the necessary work will be completed in the very near future".
Belgian, French, Greek and Brazilian anti-doping agencies were declared fully compliant after resolving code-related issues.
Brazil passed key anti-doping legislation on Thursday that avoided the embarrassing possibility of the country being in breach of the rules at its own Olympic Games in August.
Reporting by Alan Baldwin, editing by Clare Fallon