The high court 's ruling Wednesday is a victory for the White House , which has held Mr. Padilla in a military detention facility since he was detained three years ago .