の[末「すえ」]/た[末「すえ」] => conclusion N2
Reason, Result, Response
場合(は) => in the event of; in the case that ~ N4
末 => finally; after; following; at the end/ conclusion of ~ N2