March 30 (UPI) -- Spain closed its airspace to U.S. military aircraft carrying out attacks on Iran, the defense minister confirmed Monday, further bolstering the country's opposition to the war.

Defense Minister Margarita Robles told reporters that Spain considers the U.S.-Israeli war on Iran to be "profoundly illegal and profoundly unjust."

"We don't authorize either the use of military bases or the use of airspace for actions related to the war in Iran," she said, as reported by The Guardian. "I think everyone knows Spain's position. It's very clear."

Earlier this month, Spanish Prime Minister Pedro Sanchez called the military offensive against Iran a "disaster." He said the United States had failed to heed the lessons of history, including the 2003 invasion of Iraq.

In the days after the start of the attacks, which began Feb. 28, U.S. President Donald Trump lashed out at Spain for its refusal to allow the United States to use two bases from which to launch missions against Iran. Trump threatened to sever all trade with Spain over its lack of support.