Shoosmiths red-faced over courtroom gaffe