I don't think a plane that can't at V1 accelerate and climb at V2 is legal to fly with an engine failure at V1. However using your judgement in dealing with near V1 failures should consider what is at the end of the runway, a cliff, or rising terrain. You don't at this point worry about legalities, you worry about survival.