Article 85.4 from the Law 29/2006 about warranties and rational use of medicines and health products (Spain):
When the prescription is made by active ingredient, the pharmacist will dispense the lowest priced medicine from its homogeneous group and, in the case of equality, the corresponding generic medicine or biosimilar medicine.
Article 85.4 from the Law 29/2006 about warranties and rational use of medicines and health products (Spain):
No idea if it's a law, but in Finland pharmacist is always offering a cheaper brand even if doctor has written a specific drug name
Might just be my experience too idk
Same in the US unless it's marked as not substitutable.