I don't know the legal side of it however my wife was overpaid by her job and they gave us the option of paying it back in instalments so even if you they do make you pay you might be able to do it over several months especially if you tell them you can't afford it. We knew we'd been overpaid...