I recently asked about the 1791 French decriminalization of sodomy and got these answers. France invaded and annexed Belgium in 1795, so French law - with no criminal penalty for sodomy - applied until 1814 when Napoleon was defeated.