Pursuance of national interest by every state goes much beyond religious or ideological considerations in the real world. A normal state would not say no to economic ties with any viable country just based on their religious preferences.