How is such a system cheaper than a big breakable but solid STOP sign on an arm, like those american school buses.
If a resistant barrier is put before the tunnel at the height limit, it will damage any too high vehicle that attempts to pass, but removing the barrier guarantees that the vehicle will be damaged later, in worse conditions, inside the tunnel.
If the vehicle stops later inside the tunnel, instead of being blocked before it in some place with good visibility, then the road conditions will certainly be even unsafer.
Other countries aren't as litigious as the US so I suspect it's just easier to do things like that.