We often write about this: registering a logo that includes a flag is prohibited. In principle, registration is not given to trademarks with flags.