FWIW, the Spanish Steps were built in 1726, over 200 years after the RC church at the top of the steps was built.
The church, Trinita dei Monti, is a French church, because the church and the land under and surrounding the church are owned by the government of France.
Construction history...