However,
if neither you nor your spouse nor heirs are Swiss citizens, you can invoke 'Heimatrecht' and have the will executed under the laws of your home country.
Which is what my husband and I have done. Thus, the Swiss inheritance law - and mandatory inheritance - does not apply.
S*d the relatives - everything goes to the mutts.