The H4 LED replacements don't recreate the very fine focal point of a H4 filament though. Additionally they have physical surfaces that reflect light in the wrong direction.
For a LED replacement lamp to work the same the actual chip would need to be the same tiny size as the filament at suspended on the same tiny wire.
A filament is 360° along its length a LED isn't.
Should be picked up on an mot or equiv. And a fail. If they could be bothered.