Is the US 'arrest' of Maduro a good thing?

Maduro is obviously a bad guy, but what about international law?