Everyone gets tired and nods off on the job sometimes; it's a natural consequence of partaking in the 9-5 daily grind. There are not many people, however, whose cat nap costs their company hundreds of millions of dollars.

A bank clerk was approving transfers last year when he found the job to be a bit too boring. He fell asleep at his desk, with his head resting on the keyboard.

"A bank clerk nodded off for a second while processing a transfer request and held down the number 2 on his keyboard, changing the amount from 62.40 euros to 222 million euros ($293 million) or 222, 222, 222.22 euros exactly, according to testimony before a German court," says CNN Money.

The mistake slipped through, thanks to the clerk's colleague, who evidently had a history of rubber-stamping transfer requests, spending less than two seconds checking the paperwork on at least 800 similar requests prior to this error. Her mistake was not caught until the money was already transferred to the recipient's bank account, whichwas only supposed to be credited roughly 62 euros. Luckily, a fellow employee noticed her mistake before the recipient did.

The bank immediately fired the transfer approver, who had worked for the company for 26 years. The woman retaliated in court, however, and received a surprising verdict in the case.

"The bank, which was not named in the ruling, published online, claimed the supervisor had tried to deceive her superiors by failing to properly check transfer payments. The Hesse Labour court ruled, however, that the plaintiff should have received a warning and not a dismissal and said she should be reinstated in her job," reported the DailyMail.

A similar incident occurred last year, when Commerzbank transferred 200 million euros to a man's account. In that case, the man transferred 10 million euros to another bank account, but a court ruled that he had to return the money to the bank. He was still able to keep the nearly 12,000 euros in interest that the newfound money generated.