I have found a solution that works for me.
I decided to use Window instead of RibbonWindow for the application, but in this case it has a title bar:
Finally I've found the following post with example how to hide the bar:
http://blogs.msdn.com/b/wpf/archive/2010/08/20/ribbon-browser-application-without-the-title-row.aspx
It's written for the ribbon browser application but it also works for window application.
In comment to the post I've found the easiest way to hide the bar by changing only .xaml file without modifying .cs.
Just add negative margin to the Ribbon control:
Margin = 0,-26,0,0
It will result the following: