Complicated licensing problem

Hello, I have a complicated registration problem here. So, I currently live in Denmark and move to Bavaria next Friday. I bought a new car already in Flensburg. Problem registration: I need a registration certificate for a short-term registration mark. Of course, I don’t have it yet, because I can only register in Germany on August 2. Until July 31st I am registered in Denmark. I am not registered anywhere on August 1st, but because of my working hours I can at the I have only one passport here where there is no address inside. Next problem: Since I haven’t found an apartment yet, I will be living alternately with friends for the first few days. However, I can never register there. So I will have to register without a permanent residence. I see that I get a “report address” on paper somewhere at a social institution. Of course, I won’t go before Tuesday. I have a postal address with my parents. However, they live almost 2 hours away from my workplace. So it doesn’t help me. Even if I then register the car validly with them, I would have to re-register it when I have found an apartment. However, I am dependent on the car because of the work. Does anyone have an idea about my complicated registration problem? Thank you already, Jürgen