In the examples you gave it would be a danger to other road users or to yourself.
It doesn't cancel out any remaining test because as has been pointed out by others that's what the regulations state not because of what you may have done to rectify the problems.