However, if he declares about himself that he willingly is a non-believer as the result of his investigations and searches , and he publically violates Shabbat, meaning he violates Shabbat even in front of a great person , then he is considered as someone who is a heretic on the entire Torah , and the wine would be prohibited.