The new law, which will come into effect starting March 2018, will also require a more humane mode of transportation when moving the lobsters from their natural habitat in the ocean to grocery stores and restaurants.
The new Swiss law says that lobsters "will now have to be stunned before they are put to death".
Some people have contended crustaceans like lobsters can't feel pain, since they only possess nociception, or "a reflex response to move away from a noxious stimulus", according to Nature's news blog.
In the United Kingdom, such decapods are not classed as "animals" and therefore aren't covered by the Animal Welfare Act, so may be killed in the vengeful manner of your choosing.
Professor Robert Elwood, who specializes in ecology and evolution at Queens University in Belfast, explained that the new laws put in place by the Swiss government will hopefully inspire other countries to follow.
The newly-implemented lobster law also offers strict guidelines on the transportation and storage of crustaceans. He has performed experiments on crabs by offering them a choice of two shelters: one that consistently emits shocks, and another that does not.
"The practice of plunging live lobsters into boiling water, which is common in restaurants, is no longer permitted", the government order stated.
The new law doesn't mean taking lobster off the menu.
He argued that the experiment results are "entirely consistent with the idea of pain".
"While the particular method of cooking can be considered legal by recognizing that it is commonly used, the suffering caused by detaining the animals while they wait to be cooked cannot be justified in that way", the judges wrote.
The regulations also aim to crack down on illegal puppy farms, outlaw automatic devices that punish dogs for barking, spell out conditions for putting down sick or injured animals, and make organizers responsible for animal welfare at public events.