Azerbaijan and Indonesia have regained compliance with the World Anti-Doping Agency (WADA) Code following a vote of the organisation's Foundation Board.
The National Anti-Doping Organisations (NADOs) in both countries were declared non-compliant at a meeting in Glasgow last November.
But following another meeting of the Board, Azerbaijan were deemed compliant by WADA after they "adopted new legislation and NADO rules in line with the Code", while Indonesia's reinstatement came as they "resolved its outstanding issue related to the use of non-WADA-accredited laboratories".
Brazil were also declared non-compliant in the Scottish city late last year and have not regained compliance.
No decision has yet been taken by WADA regarding Spain, who have been non-compliant since March last year.
WADA declared Spain non-compliant after they failed to meet a deadline for required changes to their drug-testing procedures amid a political impasse.
The country had no functioning Government until November, meaning it could not alter its anti-doping procedure.
The formation of the Government should lead to Spain regaining compliance, providing the updated anti-doping procedures are approved by WADA.
"WADA has been working with the Spanish Agency for Health Protection in Sport (AEPSAD) and the Spanish public authorities for some time now to ensure that it would incorporate draft provisions of the revised Code into its existing legislation," a WADA spokesperson told insidethegames.
"Now that this part of the process has been finalised, we are waiting for the Spanish public authorities to adopt the provisions designed to bring the current legislation in line with the Code.
"After this step, the matter will be passed to the independent Compliance Review Committee for their further review, and possible subsequent recommendation to WADA’s Foundation Board."
Azerbaijan were "deemed not to have 2015 Code compliant legal framework in place" by WADA in November.
They had previously been threatened with non-compliance in July.
Concerns were addressed in a meeting that same month and some assurances were given, WADA said afterwards, but a "whole range of recommendations from previous reports" had still not been acted upon.
Azeri officials claimed they did not have the funds to carry out testing because their budget had been taken up by hosting the inaugural European Games in Baku last year.
The decision on Indonesia’s case came "as a result of using a laboratory not accredited nor otherwise approved by WADA and not having provided evidence of this situation having been remedied".
Indonesia is due to host the 2018 Asian Games in Jakarta and Palembang.