Countries can get banned from SWIFT only through EU legislation. However, members of SWIFT and locally ban specific members of other countries from doing payments to their jurisdiction, showing that while removal from the SWIFT network is possible, normally, countries will deal with other member countries individually.