A person ("P") is guilty of an offence if either of the following cases applies.
Case 1 is where—
Case 2 is where—
In case 1 it does not matter whether the person to whom the advantage is offered, promised or given is the same person as the person who is to perform, or has performed, the function or activity concerned.
In cases 1 and 2 it does not matter whether the advantage is offered, promised or given by P directly or through a third party.