How to execute keyboard macros exactly?

In many cases emacs doesn't execute kbd macros exactly as it should be. For example (execute-kbd-macro (read-kbd-macro "C-x C-f")) Rather than to end execution of this macros with open minibuffer...