I wrote about something similar before, which should hopefully be helpful here:
How did Roman Law start to be seen as obligatory in Mediaeval Europe?