It's not mandatory if we use PPP and the peer-neighbour route is not disabled.

But you're right for CCNA learning purposes.But if the OP had used PPP it would have worked without he realized it or he would maybe have realized the subnet mismatch but wondered how this is possible.