An appellate court has upheld the conviction of an activist who threw green paint at Luís Montenegro.