Having worked for a German company where 7-midnight shifts were a regular thing for month (project team of five): Sure. That's illegal. I know that, knew that then. But maybe you just want to do your job and get over with it. Then there's the fucked up problem between coworkers. Five people. If one says "Enough! I go home now after 12 hours!" then four are "Erm... why do you leave us to finish the tasks?".
Germany (can't comment on other so-called civilized countries) is no help here if the employees feel that they're in a bind.