Although he's a despicable person this is completely legal and I would've done the same. Staying at your parents house is two orders of a magnitude more comfortable than being in jail.
So no, this isn't a lapse of justice. just good negotiating or good lawyers.