Nothing shall be pleaded in answer to a petition for restitution of conjugal rights, which would not be ground for a suit for judicial separation or for a decree of nullity of marriage.