Mempool size limits and actually any mempool policies aren't consensus rules. You are free to change these for your node however you want. But what can go into mined blocks is consensus.