A labourer smashed up the entrance of a hotel with a digger over a Christmas pay dispute, a court heard.
The destruction happened at the Travelodge in Liverpool's Innovation Park on 21 January.
John Manley pleaded guilty to damaging property and being reckless as to whether life was endangered. He will be sentenced on 1 November.
The 35-year-old had been dealing with "social problems" in the run-up to the attack, Liverpool Crown Court heard.
Defending, Brendan Carville accepted that Manley, of Netherton, Merseyside, had "intended to cause the damage", and that he was facing an immediate prison sentence.
But he said his client's behaviour had "notably [followed] the failure of his immediate employers [not Travelodge] to pay him over the Christmas period and asking him to work for nothing on the eve of this offence".
This video can not be played
Travelodge Liverpool: Digger driver wrecks hotel reception
The digger crashed through windows and the reception desk at the hotel, causing extensive damage to the building on the day it was due to be finished.
The destruction was filmed by several witnesses on mobile phones.
Footage showed the vehicle mounting the hotel steps and entering the lobby through its glass entrance.
One witness said the attack went on for "a good 20 or 30 minutes" and left workers "gobsmacked".
Father-of-two Manley previously admitted causing criminal damage.
He denied damaging property being reckless as to whether life was endangered and also denied dangerous driving in relation to the incident.
But on the opening day of his trial he admitted he put people's lives in danger at the construction site.
His not guilty plea to dangerous driving was accepted by the prosecution.
Sentencing was adjourned for psychiatric reports and Manley, of St Aidan's Way, was remanded in custody.
Arrest over hotel digger crash
Digger driver wrecks hotel reception
Man charged over hotel digger crash
HM Courts & Tribunal Service
Gallery: 16 Eurovision acts compete in the second semi-final
Australia synth-rockers power into Eurovision final – full line-up
Eurovision 2023 grand final: every country through to Saturday night after semi-final 1 and 2
Man slashed in the face after 'commotion' outside shop
Eurovision: Train strikes to cause disruption for St Helens people
St Helens town centre Chinese restaurant set to open this month
Russia denies advances by Ukrainian forces
US accuses South Africa of supplying arms to Russia
'Nonsense' – Trump rivals blast town hall performance
The man who bet his house on Eurovision
Weekly quiz: What's Tom Hanks' debut novel called?
The party they can't stop winning in Thailand
Angel wings and chess champs: Africa's top shots
The young voters who could decide Turkey's future
Mosul Museum reveals new look after IS destruction
Broken dreams and burnt homes after India ethnic clashes
Sweden's returning champion, Loreen. Eurovision Q&A
Why an Indian film on Islamic State is so controversial
Are protein powders bad for you?
Why Gen Z are rejecting 'prestige' jobs
The Manhattan island sold for $1
© 2023 BBC. The BBC is not responsible for the content of external sites. Read about our approach to external linking.