The consumer might think that the product or service is approved by the government. Even if only a small part of a flag is involved. This is often a reason for the authorities to reject a mark.
A common mistake is the use of the European Union’s 12 stars. Regardless of whether these are used in colour or black and white. The trademark authorities pay strict attention to this and then adequately refuse to register the trademark.