The Treaty of San Ildefonso was an agreement between France and Spain where Spain gave back the colonial territory of Louisiana to France. So, your answer is that (A. It returned the Louisiana Territory to France. I hope I could help! :D
Have a wonderful rest of the day.