If this situation actually arose, there is a substantial possibility that I would not switch the track, in order to avoid being prosecuted for murder. This isn’t to say that I “endorse” that (in)action; I would prefer a legal code under which that wouldn’t happen, and would vote for legislators who committed to changing the law in that way.
Discussions of “law” aren’t discussions of which laws to make; those are called discussions of “policy”, and they are in my opinion the place where ethical considerations are most relevant.
Relevant to what? It’s usually brought up in discussion of ethics, not law.
If this situation actually arose, there is a substantial possibility that I would not switch the track, in order to avoid being prosecuted for murder. This isn’t to say that I “endorse” that (in)action; I would prefer a legal code under which that wouldn’t happen, and would vote for legislators who committed to changing the law in that way.
Discussions of “law” aren’t discussions of which laws to make; those are called discussions of “policy”, and they are in my opinion the place where ethical considerations are most relevant.