It doesn't have legal force. Wikipedia tells me it isn't really even a proper standard; standardisation efforts stopped when it became clear it wasn't going to be effective.
https://en.wikipedia.org/wiki/Do_Not_Track
https://en.wikipedia.org/wiki/Do_Not_Track_legislation