John Hughes, representing Badauskas, said a catalogue of calamity had beset his client after he came to the UK a week ago.
He flew into London Stansted Airport with a friend and travelled by bus to central London.
Badauskas, who has a degree in civil engineering, believed Stansted airport was part of London because of its title.
He went to see another friend, who was going to find him work.
However, Badauskas then lost all his possessions and ended up in Ipswich, which he also believed to be part of greater London.
[...]
Badauskas decided to go to Ipswich railway station because he had an Oyster Card, believing as it had money on it he could use it to buy a train ticket.
Unable to do so he then went outside the station and climbed on to the roof above the platform.
Mr Hughes said his client was scared to come down when police arrived as he had been trying to avoid paying for a ticket.
[...]
Badauskas, a father-of-one who got divorced in June, apologised for his actions during the stand-off.
Mr Hughes said: He accepts his way of dealing with it was extremely foolish and hes sorry for the disruption he caused to the people affected by his actions. Hes both ashamed and embarrassed by what happened. This is a young man who made a very foolish mistake.