Prohibition of competition and prohibition of appropriation of corporate opportunities do not (always) protect a GmbH against its sole shareholder-director.
In principle, it is permissible for the sole shareholder-director of a GmbH to compete with his/her GmbH. Certain limits are set by the prohibition of return of contributions.