An older 27" road bike frame will fit pretty much any 700c tire.
You'll be able to put 42s on your 23 rims, but the ride is going to suck, I think they call it "fold over" or "roll over". Basically you have no stability in corners because of the balloony shape of the tire squeezed onto a smaller rim.