Did the supreme court agree with the Louisiana purchase?

The Louisiana purchase, which bought all the territory from Mississippi to the Rockies from France for $15 million was agreed on by all parties. The supreme court, senate and the President were all behind it.