In case it's relevant, I'm on a Mac, running OSX 10.12 and Carbon Emacs 24.3.1.
If I open a file using
/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -n filepath the Emacs window comes to the top and gets focus unless opening the file triggers a minibuffer prompt (such as
Symbolic link to Hg-controlled source file; follow link? (yes or no).
Is there a way to configure Emacs to grab focus and raise its window in these cases as well?