You will be prosecuted in some cases in France. This is a law named “insult to a representative of public authority”
If you shout insults at Macron, you will be prosecuted. If you display insults about Macron, you will be prosecuted.
https://www.rue89strasbourg.com/insulte-macron-selestat-mani...
https://www.ouest-france.fr/societe/justice/un-homme-de-77-a...