DNT is legally effective.
A German court ruled:
"According to the General Data Protection Regulation (GDPR), the right to object to the processing of personal data can also be exercised using automated procedures. A DNT signal represents an effective contradiction."
https://cybernews.com/tech/germany-court-bans-linkedin-from-...