Standard OBD does not log anything but errors AFAIK. Also, resetting the OBD (clearing faults) IS registered by most vehicles and down here when faults are cleared moments before the MOT it is reason for suspicion. So there is that. On the other hand, whilst that came in the "three amigo's" are no longer considered a fault! I have a car that has the ABS come on every now and then and when it's on during MOT testing it's only a repair advisory, NOT a fail so -eh- you win some you lose some.
The real gimmickery starts with newer vehicles and 5G. To no ones surprise I suppose, car makers are pushing hard for 5G to happen. Cars will be constantly connected to the headquarters (I used to work for BMW IT department so I saw the development of this kinda stuff) and log just about anything and everything. So if you over rev when cold and turn in for a checkup your warranty is void. They can even access the parking camera's and check to see what the car is doing.
Pretty sure that info is not available for the purposes of road worthy testing but the logging capabilities will increase drastically.
Regarding EGR deletes and such. Over here the car needs a visual inspection but! if you pass the emissions testing on a measuring device at the tailpipe, you pass. Does not matter what is fitted or not. For example a catalytic converter is not mandatory for vehicles before 1993 I believe. So my 1992 prelude HAD one, but I removed it. My papers state it has one but it can be tested as if it does not and meets the emission standards for a vehicle without (easily I might say).
But, in the end, who will actually OWN a vehicle in a couple of years? companies like BMW are already aiming to become their own ubers. Also fits with the latest scam "you will own nothing and be happy"...

