All civilized countries have the concept of gross negligence where you can be prosecuted for knowingly doing something that causes harm as a side-effect.