Three men will have their prison terms extended if they do not pay the money, a judge rules.