In a pinch, a piece of inner tube between rings and tube will work as well.
In a bind before a hunting trip when my buddy bought 30mm rings, we tried it to see if the scope would retain zero as a emergency stop gap and after 5 years, it is still holding.
Given the choice however I'd buy the correct size rings. Why take the chance?
"He who laughs last, laughs dead." Homer Simpson