Stupid or not, the original Girl Code is that once you have any sort of sexual/romantic link to a guy (even just saying you like him) he is 100% off-limits to all friends. (This rule is more nuanced when the object of desire is another woman.)