Hope the driver has got a foot pump ( preferably an Halfords one ! ), he'll need it c'os the fire brigade would most likely let the lorry's tyres down to free it.
Driver error, he / she would have taken 5 mins to stop before the bridge to check the height, I notice that is a railway Bridge, that will have cost the Haulier a lot of money, as the bridge has to be fully checked for damage, if trains have to divert it could cost a lot of money.