You presume that the mere existence of a law prevents bad actors from acting badly. There are many counterexamples.
Of course there wankers who drive dangerous cars with no mot. But this law insures the vast majority have their car checked for major faults they may be unaware of. That's a good thing