Spain’s pain thrusts Stuart Pearce’s Great Britain into medal contention