a sentence is pronounced in a court of law