Sentencing in cases of illegal possession of weapons