These cases are rare, but what happens is something called an occluded front. There are so many things that could be talked about and results aren't typically constant, so I recommend you look up what an occluded front is. Its basically when a cold front catches up to a warm front and forces even more warm air up, causing high amounts of precipitation.