Allies lose the Peninsular War

How can we have the Allies lose the Peninsular War? Could this see Spain's royal family going to the New World along with Portugal's? Would Portugal be partitioned as proposed OTL? Would this see Britain abandoning continental Europe entirely and concentrating on crushing the USA? What else could happen?
 
Top