Here’s what the region looked like after the Lombards settled west of the Gepids at Justinian’s invitation.

Note how the Gepids held lands along the south bank of the Danube to better protect their capital at Sirmium, and how the Romans still held the city of Sucidava on the north bank of the river, such that each side had bridgeheads in the other’s territories.