Spain: Madrid to challenge confinement order in court