Spain has at last conceded it may need a state bailout and policymakers are considering writing down Greek debt to their central banks, European officials said on Friday, as markets anticipated radical new action to pull the continent out of its debt maelstrom.