Outside beaches, and a few comparable sunning places, women are rarely topfree - even when the weather would permit. Yes (sometimes) in the backyard even if not totally secluded, but generally not when directly visible from the street. Probably more in the south of France and in Spain, or in camping sites (but less than some time ago).
However, only a few countries would see this topfreedom illegal. Just "inappropriate". And even, the inhibitor is that the women do not want to show their breasts, not that they would not be allowed too or even less that they would offend anybody.
It must not be forgotten that brafreedom is almost inexistant, and that women truly believe they need the bra, as being it the tiniest bikini top.
Men however are quite generaly bare-chested when gardening at hot times. They will maintain the front yard or wash their cars with shorts or a speedo. It's not common, but if someone removes his shirt at a café's terrace, it may be seen as unusual but never cause trouble.