And neither does it violate any similar law (because not many people know, but the DMCA is not an idea from the US, just barely the US implementation of the 1996 WIPO treaty), in the European Union or anywhere else.
So it really, isn't illegal anywhere (well except obviously authoritarian regimes).