If you apply for an extension of your permit, you may stay in Denmark and continue working while your application is being processed, provided that you are still in the same trainee position, on the same terms and conditions, as when you were granted your original permit.