Complex sentence: On 10 November 1918, as the Central Powers were all surrendering, Romania switched again and joined the Allied side, just in time to gain favour at the Paris Peace Conference.
Split into simpler sentences: On 10 November 1918, as the Central Powers were all surrendering, Romania switched again and joined the Allied side. It was in time to gain favour with the Allies at the Paris Peace Conference.