No it isn’t, you are confusing an agreement about East Germany with the nations of NATO signing a treaty with the USSR to let the USSR dictate NATO’s membership and European country’s freedom to join the European alliance.
Just pull up that treaty you claim exists.
Exactly right. You found it, good for you.