The conduct of a lawyer who created fictitious court hearings was described by a London judge as being akin to a satirical book.