The Third Treaty of San Ildefonso, among other terms, returned Louisiana to France from Spain. This agreement was also to be kept secret.
Baton Rouge and the Florida parishes remained part of Spain.
Text of Treaty from the Avalon project