The 2nd is open and shut offside.
if "an offence is committed against a player in an offside position who is already playing or attempting to play the ball, or challenging an opponent for the ball, the offside offence is penalised as it has occurred before the foul challenge."
- it's there, in black and white. Offside. In praising the "brave" linesman in giving a 93rd minute pen at the Kop end against Liverpool and the debate about the dive, people seem to forgotten that Lamela was offside. If he wasn't offside, van Dyke wouldn't have kicked him up the arse whilst trying to clear the ball. That's the lineman's primary job there, to call offside, not make brave (and technically incorrect) decisions. That's just plain bad officiating, from the desire of the lineman to make a "brave decision" (which he obviously enjoyed as evidenced by the fist pump) to the not doing his primary job of calling offside which leads him to effectively overrule the ref into giving a wrong decision. Even Moss, then had make the jump from not giving the pen, to thinking Lamela was onside when fouled. There's no way that situation evolves if the flag goes up as it should. That's not brave. It's misguided and crap. A catalogue of errors.