Discuss the punishment for house-trespass according to Indian Penal Code (IPC 1860) Section 448: Punishment for house-trespass and their relevant Bharatiya Nyaya Sanhita 2023 (BNS 2023) code reference.

{'IPC Section': '448', 'IPC Heading': 'Punishment for housetrespass', 'IPC Descriptions': ' Indian Penal Code, 1860 
448. Punishment for housetrespass 
Whoever commits housetrespass shall be punished with imprisonment
of either description for a term which may extend to one year, or with fine or
which may extend to one thousand rupees, or with both.', 'BNS Section': '331', 'BNS Heading': 'Punishment for housetrespass or housebreaking', 'BNS description': 'The Bharatiya Nyaya Sanhita, 2023
331. Punishment for housetrespass or housebreaking.
(1) Whoever commits lurking housetrespass or housebreaking, shall be punished with imprisonment of either description for a term which may extend to two years, and shall also be liable to fine.
(2) Whoever commits lurking housetrespass or housebreaking after sunset and before sunrise, shall be punished with imprisonment of either description for a term which may extend to three years, and shall also be liable to fine.
(3) Whoever commits lurking housetrespass or housebreaking, in order to the committing of any offence punishable with imprisonment, shall be punished with imprisonment of either description for a term which may extend to three years, and shall also be liable to fine; and if the offence intended to be committed is theft, the term of the imprisonment may be extended to ten years.
(4) Whoever commits lurking housetrespass or housebreaking after sunset and before sunrise, in order to the committing of any offence punishable with imprisonment, shall be punished with imprisonment of either description for a term which may extend to five years, and shall also be liable to fine; and, if the offence intended to be committed is theft, the term of the imprisonment may be extended to fourteen years.
(5) Whoever commits lurking housetrespass, or housebreaking, having made preparation for causing hurt to any person, or for assaulting any person, or for wrongfully restraining any person, or for putting any person in fear of hurt or of assault or of wrongful restraint, shall be punished with imprisonment of either description or a term which may extend to ten years, and shall also be liable to fine.
(6) Whoever commits lurking housetrespass or housebreaking after sunset and before sunrise, having made preparation for causing hurt to any person or for assaulting any person, or for wrongfully restraining any person, or for putting any person in fear of hurt, or of assault, or of wrongful restraint, shall be punished with imprisonment of either description for a term which may extend to fourteen years, and shall also be liable to fine.
(7) Whoever, whilst committing lurking housetrespass or housebreaking, causes grievous hurt to any person or attempts to cause death or grievous hurt to any person, shall be punished with imprisonment for life, or imprisonment of either description for a term which may extend to ten years, and shall also be liable to fine.
(8) If, at the time of the committing of lurking housetrespass or housebreaking after sunset and before sunrise, any person guilty of such offence shall voluntarily cause or attempt to cause death or grievous hurt to any person, every person jointly concerned in committing such lurking housetrespass or housebreaking after sunset and before sunrise, shall be punished with imprisonment for life, or with imprisonment of either description for a term which may extend to ten years, and shall also be liable to fine.'}