To put one’s nose out of joint is to supplant a person in another’s good graces. To put another person’s nose where yours is now. There is a good French locution, “Lui couper lʹherbe sous le picd.” (In Latin, “Aliquem de jure suo dejicere.”) Sometimes it means to humiliate a conceited person.
“Fearing now least this wench which is brought overhit her should put your noseout the joynt, comming betweene home and you.”—Terence in English (1614).