contravention of custody order sentencing