That's exactly what we told him but he didn't listen. He wanted to do it the "civil way" because he was afraid the landlord was going to change the locks.
The ONLY way the tenant would get his deposit back is IF the landlord changed the locks, but tenant was afraid of that option.
So the civil way is to forfeit the deposit and learn a lesson, even though we told the OP about this. And earlier he mentioned that the landlord rents to many foreigners and doesn't want the bad PR, well go have a look, I'm sure another sucker is in there living and any bad PR is ignored because the target group of people don't even listen to the advice on the internet anyway. They only look at the price! as you did in this case.