Criminals who refuse to attend their sentencing hearings will face further punishment under a new law.