What was the relationship between Spain and the French Empire?

A.)Dependent on France
B.)Allied with Napoleon
C.)Against Napoleón