The prohibition did not bother the executives in the SOIC, and the oldest preserved, flag in Sweden is a swallowtail from the ship Lovisa Ulrica (to Canton 1766-68).
There were no standardized signal flags at that time, instead the ships used different, prearranged ways of flying the flag, or flags, sometimes combined with pennants and cannon shots, as signals.