Custodial sentences handed out for removing home invaders