Discuss the consequences of offering a gift or restoration of property in consideration of screening an offender as per Indian Penal Code (IPC 1860) Section 214: Offering gift or restoration of property in consideration of screening offender and their relevant Bharatiya Nyaya Sanhita 2023 (BNS 2023) code reference.

{'IPC Section': '214', 'IPC Heading': 'Offering gift or restoration of property in consideration of screening offender', 'IPC Descriptions': " Indian Penal Code, 1860 
214.
Offering gift or restoration of property in consideration of screening offender
Whoever gives or
causes, or offers or agrees to give or cause, any gratification to any person,
or 110[restores or causes the restoration of] any property to any
person, in consideration of that person's concealing an offence, or of his
screening any person from legal punishment for any offence, or of his not
proceeding against any person for the purpose of bringing him to legal
punishment;
if a capital offence
shall, if the offence is punishable with death, be punished with imprisonment
of either description for a term which may extend to seven years, and shall
also be liable to fine;
if punishable with
imprisonment for life, or with imprisonment and if the offence is punishable
with 104[imprisonment for life], or with imprisonment which may
extend to ten years, 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 is
punishable with imprisonment not extending to ten years, shall be punished with
imprisonment of the description provided for the offence for a term which may
extend to onefourth part of the longest term of imprisonment provided for the
offence, or with fine, or with both.
 111  [Exception The provisions of sections 213 and 214
do not extend to any case in which the offence may lawfully be compounded.] 
 112  []", 'BNS Section': '251', 'BNS Heading': 'Offering gift or restoration of property in consideration of screening offender', 'BNS description': "The Bharatiya Nyaya Sanhita, 2023
251. Offering gift or restoration of property in consideration of screening offender.
Whoever gives or causes, or offers or agrees to give or cause, any gratification to any person, or restores or causes the restoration of any property to any person, in consideration of that person's concealing an offence, or of his screening any person from legal punishment for any offence, or of his not proceeding against any person for the purpose of bringing him to legal punishment shall,
(a) if the offence is punishable with death, be punished with imprisonment of either description for a term which may extend to seven years, and shall also be liable to fine;
(b) if the offence is punishable with imprisonment for life or with imprisonment which may extend to ten years, be punished with imprisonment of either description for a term which may extend to three years, and shall also be liable to fine;
(c) if the offence is punishable with imprisonment not extending to ten years, be punished with imprisonment of the description provided for the offence for a term which may extend to onefourth part of the longest term of imprisonment provided for the offence, or with fine, or with both.
Exception.The provisions of this section and section 250 do not extend to any case in which the offence may lawfully be compounded."}