Original: Each of these "Netherlands" had a high degree of autonomy, co-operating with each other mainly on defense and on the international level in general, but keeping to their own affairs elsewhere.
Simplified: Each of these "Netherlands" had a high degree of autonomy. They co-operated with each other mainly on defense and on the international level in general.