Brazilian court allows political protests during Olympics