What was Spain's reaction to the Louisiana Purchase by the US?

The Louisiana territory was controlled by France from 1699 to 1762. France handed over the territory to Spain in 1762 and then again reacquired the territory in 1800. During their reign Spain had denied Americans access to New Orleans. Spain did not like American influence to increase in the territory. France at the time of reacquiring the territory had assured Spain that the territory would not be handed over to third party. Spain protested against Louisiana purchase which double the size of United States. Spain and USA later got into a dispute over the boundaries of the territory.