It's not hard. You simply have to decide what is right.
A. Keep the money that does not belong to you and justify it on the basis that it's their own fault.
B. Give the money back ( cheque, postal order) - because it's not yours, notwithstanding the aggravation you went through.