Spain and The Ottomans agree to defend each other in all wars when called upon, to their fullest abilities. The Ottomans will back all wars for the Spanish claims in Barcelona and Navarra and any french colonies, while the Spanish will back all Ottoman claims to central Hungary and Croatia.
The penalty for breaking this treaty (applies to all signers) is a payment of any lost money from pursuing the war or should the nation have debt, a payment of that debt to the offended party, 6 stability, 200 prestige.
The First Amendment of the Counter coalition
Prussia will join Spain and the Ottomans in all defensive wars, as will the ottomans and Spain join Prussia. Should Austria lose to the coalition then Prussia will get up to 1/5th of the war score on Austria.
The Second Amendment of the Counter Coalition:
Great Britain will join Spain, the Ottomans, and Prussia in all defensive wars and will join offensive wars if called upon, as will the Ottomans, Spain and Prussia join Great Britain. Spain agrees to transfer Havana, Rio Bravo, Tamaulipas and Malta, furthermore, Spain agrees to a demarcation line currently set at the British-Spanish broader in Mexico, where all land to the north belongs to Britain and all lands south belonging to Spain.
Edit: The Caribbean is not apart of the divide.
The Third Amendment of the counter Coalition:
-Castile agrees to transfer the following territory to Papal States http://imgur.com/uaKfsJn
by any reasonable means. Excluding malta which the ottomans will pay papal states 500 gold.
-papal states agrees to ally castile and help in their wars in this session, as long as those wars arent against the ottomans. Only 2 offensive wars papal states are required to join, and all defensive wars they are required to join.
Should ottomans break this amendment they must pay 500 gold to papal states. If Spain breaks this amendment they must transfer the territories in accordance to this map to papal states (as outlined). If papal states breaks the treaty they must also give all transferred territories to papal states back to Spain and 500 extra gold to both spain and ottomans.