You don't need to keep the green snake's head on the platform. Even with the green snake head left of the spike, green is still recoverable after you save red and the block.