If you live in Tunisia then you need to go back to court in Tunisia and sort this out.
You should have discussed these legal matters before you married your second husband.
You cannot make decisions about your daughter without her father's permission.
Why can't your child live in Denmark with her father?
Obviously your agreement with your husband is not working. I suggest yoo go to a Danish lawyer to sort this out.
Your child's happiness and peace of mind should come first in all of this not what you want.