Section 2. It shall be unlawful for any person doing business in the commonwealth:
(i) to enter into any agreement, contract, arrangement, combination, or understanding with any foreign government, foreign person, or international organization, which requires such person to refuse, fail, or cease to do business in the commonwealth with any other person who is domiciled or has a usual place of business in the commonwealth, based upon such other person's race, color, creed, religion, sex, national origin or foreign trade relationships;
(ii) to execute in the commonwealth any contract with any foreign government, foreign person, or international organization which requires such person to refuse, fail or cease to do business with another person based upon such other person's race, color, creed, religion, sex, national origin, or foreign trade relationships;
(iii) to refuse, fail or cease to do business in the commonwealth with any other person who is domiciled or has a usual place of business in the commonwealth when such refusal, failure, or cessation results directly or indirectly from an agreement, contract, arrangement, combination, or understanding between the person who refuses, fails or ceases to do business and any foreign government, foreign person, or international organization, and is based upon such other person's race, color, creed, religion, sex, national origin or foreign trade relationships;
(iv) to discharge or to fail, refuse or cease to hire, promote or appoint in the commonwealth any other person who is domiciled in the commonwealth to any position of employment or employment responsibility when such refusal, failure or cessation results from an agreement, contract, arrangement, combination, or understanding with any foreign government, foreign person, or international organization and is based upon such other person's race, color, creed, religion, sex, national origin, or foreign trade relationships;
(v) to wilfully and knowingly aid or abet any other person to engage in conduct which is prohibited by this chapter.
It shall not be unlawful under this chapter:
(i) to engage in conduct required by or expressly authorized by acts of the United States Congress, a United States treaty, a United States Regulation, or a United States Executive Order;
(ii) to enter into any agreement with a foreign government or foreign person which requires that a preference or priority be given to the citizens or products of a particular country;
(iii) to enter into any agreement with an international organization entirely composed of member governments or their contracting representatives which requires that a preference or priority be given to the citizens or products of one or more of such member governments;
(iv) to enter into any agreement with respect to the insuring, handling or shipping of goods, or choice of carrier while in international transit.