Prime minister Boris Johnson dodged a question about whether he would disregard the will of parliament.