A halted train isn't immune to derailments, however. To guard against derailments, JR East has installed L-shaped metal parts on its train cars as a countermeasure. The parts are designed to hook the cars on the rails, thus preventing them from colliding with side walls.