They say that the boys were really studying as actors, who could not go at school, had to take their books with them, in order to study on the set. The books in this scene are their real ones. And Alan Rickman enjoyed a lot his part.