There is no legal conflict between the use of a nick name and your real name. For instance, a guy called Robert xxx but prefers to be called Bob. In his passport, his name is still Robert XXX, right?