Principle: The consideration or object of an agreement is unlawful if it is forbidden by law. Every agreement of which the object or consideration is unlawful is void.
Facts: 'X' promises to pay 'Y' Rs.50000, if he ('Y') commits a crime, 'X' further promises to indemnify him ('Y') against any liability arising thereof. 'Y' agrees to act as per X's promise.
Which of the following derivations is correct?