What happens if one commits a haram act while considering it halal?