The situation of Portugal poses some challenges at this time. In 1580-1640 Portugal was in a personal union with Spain under the Phillipine dynasty. On the other hand it had substantial autonomy. Portugal seceded from the Iberian Union in 1640 under John IV of the House of Braganza.
In that context I have set up a poll to help decide Portugal's status as either an emergent, a Spanish ally or a Spanish protectorate.