If you don't want proprietary software in your head, don't install it in your head. Why do you need the UN to stop you from doing that to yourself?
Oh you have X,Y,Z mental illness? Treatment from or inclusion in society is contingent upon getting this chip installed.
That's almost definitely going to happen. If the tech were available today we'd probably be hearing disturbing leaks of forced chip installation in people heads in various countries already. :(