If Spain is colonized by Panama what language would they speak?

Both Spain and Panama speak Spanish. So hypothetically speaking, if Panama colonized Spain, there would be very little to no effect on the language spoken there.