They "get away with it" because overstay is illegal and they are allowed lock people up for it. People routinely die in immigration detention here. The vast majority don't, but some do.
Not the only country this happens, people routinely die in immigration detention places like the US as well.
********************************************************************************************************
*****
99/hungarian-found-dead-in-suvarnabhumi-detention-cell
**************************************************************