The law, which was approved by parliament last December and came in the wake of Hamas’s attack on Israel on October 7, 2023, gives Swiss authorities “the necessary tools to take action against Hamas activities or support for the organization in Switzerland,” the government says.
https://www.timesofisrael.com/liveblog_entry/switzerland-to-implement-hamas-ban-from-may-15/