This book is the compilation of two stories. Chrestomanci is a title; he’s kind of like the magic police for a parallel universe. Traveling between parallel universes (sometimes to our own world) is a big part of the stories. Pretty fun YA fantasy.
“The Chronicles of Chrestomanci, Vol 1” by Diana Wynne Jones