Isn't that the same thing all of the "drift the trolley across both tracks to hit everyone" are suggesting?
On the other hand, they're bound to the tracks so close to the switching point that derailing it right there could also cause it to tip over and land on all of them...
@agowa338 @SnoopJ That depends on
1. the speed and weight of the trolley;
2. the separation of the tracks;
3. the articulation of the bogies.
If it's running at the speed of, say, the new Ontario light rail line, no one will get hurt because it's running too slow to fall over and will just stop in a short distance. If it's a Shinkansen, you've got problems.
But the unionised workers on the ground know which it is and can act appropriately
If you want to over analyse it you could also have the issue that the track does not allow being changed once a part of the train passed over it until it fully cleared again...