By these means they succeeded in their goal of keeping the children out of the hands of Catholic relatives in Spain.
The passage describes a successful effort to prevent children from being taken by Catholic relatives in Spain, using specific methods.