Section 7 of the Bharatiya Nyaya Sanhita empowers courts to award rigorous, simple, or partly rigorous and partly simple imprisonment where the offence permits imprisonment of either description, subject to judicial discretion and constitutional safeguards.