V MAX display as you said comes from flap lever but actual speeds are calculated by FAC from calculation of Vs1g. FAC uses actual calculated speeds for protections. That's why I call V max, S and F speed displays as good time friends. The moment lever doesn't match the real position you need to ignore them. A380 it comes from actual surface position.