Yes, but the Speaker is right, in principle. If the government decides to say no, for political reasons or for its own reasons, it is up to the House of Commons to make a decision. The House can decide not to accept that answer and introduce a motion of contempt or non-confidence in the government.
It is not a matter for a court to decide on. It is a parliamentary matter.