I don't think immigration would be a huge issue for a U.S. citizen travelling to Spain who also can show all the paperwork for an educational stay. I am surprised though that this isn't taken care of by the organization/college as usually is the case with this sort of trip.