If each switch has it's own vlans and IP subnets and you route for all traffic between the switches then make the link a L3 routed link and then you can't possibly overwrite the vlan database.
So use an unused IP subnet with a /30 subnet mask. As you are using network 10.0.0.0 under RIP choose it from this.
Then configure the ports on either end with one of the IPs from that subnet eg.
int <x/y>
no switchport
ip address 10.x.x.x 255.255.255.252
this will work fine as long as you do not need to extend any vlans/IP subnets between your switches.
Does this make sense ?
If it is still unclear please come back for clarification.
Jon