A Spanish court has agreed to consider charging six former U.S. officials with providing legal justification for alleged torture at Guantanamo Bay.

Human rights lawyers brought the case before leading anti-terror judge Baltasar Garzon, who agreed to send it on to prosecutors to decide whether it had merit.

Under Spanish law, courts can prosecute offenses such as torture or war crimes even if they occurred in other countries.

The former officials, who include ex-Attorney General Alberto Gonzales and former defense official Douglas Feith, could face arrest if Spain charges them.

Feith said the charges against him made no sense and that he never advocated the position for which he was being criticized.

Spain's courts have in the past launched investigations into alleged crimes in Argentina, Chile, Tibet, El Salvador and Rwanda.

Some information for this report was provided by AP.