Unfortunately there is no answer to that, once you are in an emergency or situation outside the box then inevitably if somebody takes issue to it you will be tested in court. Even if the CASR says you may do x in an emergency and somebody wishes to pursue it and ensure it was indeed legal then it will come back to the act, that will be then an issue of whether somebody in power considers the action viable and warranted. This will be even more convoluted if somebody is injured and it goes to civil claims.
You then have to consider more than just the action itself, for instance how did you end up in that corner that the rules had to be breached.