The law enacted by the European Union recently is a model worth following