I just observed that the computer does a castling (castling queen's side) although a knight is on its base-line and therefore castling is not allowed. So I tried on my own, and I'm able to do this too.
I did not checked with castling king's side yet.
Version: 0.5+dfsg-1ubuntu1 (feisty)
OS: Ubuntu (Linux)