Eh, he'll just beat Flowey up and take him to jail. Flowey will then escape and go on an even worse rampage. Just like pretty much every other Batman villain.