A blood alcohol reading taken by police showed he had 172 milligrams of alcohol per 100ml of blood, three times the legal limit.
Defence counsel Cam Robertson told Judge Rea that Mauch was remorseful and was prepared to face the consequences of his actions.
"He doesn't usually drink, but on this occasion he was upset and lonely," Robertson said.
Mauch, a qualified mechanic, also lost his job as a result of the incident and had plans to return to Germany - but his travel fund would be significantly affected by police fines, court costs and a hefty bill from KiwiRail.
He was ordered to pay $1132.86 in reparation to KiwiRail as well as $600 in fines and $111 in analyst fees.
KiwiRail acting chief operations officer Henare Clarke said there were reasons for the significant reparation cost.
"In this case, as with all our recoveries KiwiRail is simply recouping the costs incurred by our organisation.
"That includes the cost of train control, an incident co-ordinator, a track worker to carry out an inspection to check for damage , an after-hours fee, mileage and the cost to the business of closing the line.
"Incidents like these highlight the need for people to take extreme care around level crossings."